Definition

actions_load($aid)
files/drupal-6.7/includes/actions.inc, line 351

Description

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

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