/[drupal]/drupal/includes/actions.inc
ViewVC logotype

Diff of /drupal/includes/actions.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.8.2.9, Mon Aug 10 10:39:49 2009 UTC revision 1.8.2.10, Fri Nov 6 08:14:05 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: actions.inc,v 1.8.2.8 2009/08/10 10:34:42 goba Exp $  // $Id: actions.inc,v 1.8.2.9 2009/08/10 10:39:49 goba Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 167  function actions_list($reset = FALSE) { Line 167  function actions_list($reset = FALSE) {
167  }  }
168    
169  /**  /**
170   * Retrieve all action instances from the database.   * Retrieves all action instances from the database.
171   *   *
172   * Compare with actions_list() which gathers actions by   * Compare with actions_list(), which gathers actions by invoking
173   * invoking hook_action_info(). The two are synchronized   * hook_action_info(). The actions returned by this function and the actions
174   * by visiting /admin/build/actions (when actions.module is   * returned by actions_list() are partially synchronized. Non-configurable
175   * enabled) which runs actions_synchronize().   * actions from hook_action_info() implementations are put into the database
176     * when actions_synchronize() is called, which happens when
177     * admin/settings/actions is visited. Configurable actions are not added to
178     * the database until they are configured in the user interface, in which case
179     * a database row is created for each configuration of each action.
180   *   *
181   * @return   * @return
182   *   Associative array keyed by action ID. Each value is   *   Associative array keyed by action ID. Each value is an
183   *   an associative array with keys 'callback', 'description',   *   associative array with keys 'callback', 'description', 'type' and
184   *   'type' and 'configurable'.   *   'configurable'.
185   */   */
186  function actions_get_all_actions() {  function actions_get_all_actions() {
187    $actions = array();    $actions = array();

Legend:
Removed from v.1.8.2.9  
changed lines
  Added in v.1.8.2.10

  ViewVC Help
Powered by ViewVC 1.1.2