function actions_load

7.x actions.inc actions_load($aid)
6.x actions.inc actions_load($aid)

Retrieve a single action from the database.

Parameters

$aid: integer The ID of the action to retrieve.

Return value

The appropriate action row from the database as an object.

1 call to actions_load()
system_actions_delete_form_submit in drupal-6.x/modules/system/system.module
Process system_actions_delete form submissions.

File

drupal-6.x/includes/actions.inc, line 391
This is the actions engine for executing stored actions.

Code

function actions_load($aid) {
  return db_fetch_object(db_query("SELECT * FROM {actions} WHERE aid = '%s'", $aid));
}