actions_load

Versions
6 – 7
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.

Code

includes/actions.inc, line 362

<?php
function actions_load($aid) {
  return db_fetch_object(db_query("SELECT * FROM {actions} WHERE aid = '%s'", $aid));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.