function actions_load in Drupal 6
Same name and namespace in other branches
- 7 includes/actions.inc \actions_load()
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 modules/
system/ system.module - Process system_actions_delete form submissions.
File
- 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));
}