Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Trigger_Action_Set_Session_Var Class Reference
Inheritance diagram for Trigger_Action_Set_Session_Var:
Trigger_Action Asset MySource_Object

Public Member Functions

 Trigger_Action_Set_Session_Var ($assetid=0)
 

Static Public Member Functions

static processInterface (&$settings, $request_data)
 
static execute ($settings, &$state)
 
static getInterface ($settings, $prefix, $write_access=FALSE)
 
- Static Public Member Functions inherited from Trigger_Action
static execute ($settings, $state)
 
static getInterface ($settings, $prefix, $write_access=FALSE)
 
static processInterface (&$settings, $request_data)
 
static getLocks ($settings, &$state)
 

Additional Inherited Members

- Data Fields inherited from Asset
 $id = 0
 
 $version = ''
 
 $name = ''
 
 $short_name = ''
 
 $status
 
 $languages = ''
 
 $charset = ''
 
 $force_secure = '0'
 
 $created
 
 $created_userid
 
 $updated
 
 $updated_userid
 
 $published
 
 $published_userid
 
 $status_changed
 
 $status_changed_userid
 
 $_is_cacheable = FALSE
 
 $vars = Array()
 
 $_available_keywords = Array()
 
 $data_path_suffix = ''
 
 $data_path = ''
 
 $data_path_public = ''
 
 $_ser_attrs = FALSE
 
- Protected Member Functions inherited from Asset
 _preCreateCheck (Array &$link)
 
 _createAdditional (Array &$link)
 
 _abortCreate ($trigger_level_changed=FALSE, $linkid=0)
 
 _loadVars ()
 
 _getName ($short_name=FALSE, $contextid=NULL)
 
 _getKeywordReplacement ($keyword)
 
 _checkPermissionAccess ($perm, $assetids=Array(), $only_workflow=TRUE)
 
 makeAndSaveInitialWebPath ($path, $parent_link=NULL)
 

Detailed Description

Definition at line 40 of file trigger_action_set_session_var.inc.

Member Function Documentation

static execute (   $settings,
$state 
)
static

Execute this action Returns an array of data about what it did, or false on error

The settings used by this action are in the form:

Array(
      'name'        => string // the attribute to modify
      'value'     => string // the value to set
      'value_map' => string // parameter map setting
      );
Parameters
array$settingsthe stored settings for this action
array&$statethe state that describes the asset the action is executing on
Returns
mixed array|boolean public

Definition at line 105 of file trigger_action_set_session_var.inc.

static getInterface (   $settings,
  $prefix,
  $write_access = FALSE 
)
static

Get the HTML editing interface for this action. Returns the string instead of printing it

Parameters
array$settingssettings that this condition saves in processInterface()
string$prefixunique prefix
boolean$write_accessdetermines whether the interface is editable
Returns
boolean public

Definition at line 160 of file trigger_action_set_session_var.inc.

static processInterface ( $settings,
  $request_data 
)
static

Function that handles the conversion of interface to settings together with settings it is expected to populate the hash object

Parameters
array&$settingsa container for any data the action might want to save
string$request_dataarray of data corresponding to this action as specified by the $prefix in getInterface.
Returns
boolean public

Definition at line 67 of file trigger_action_set_session_var.inc.

Trigger_Action_Set_Session_Var (   $assetid = 0)

Constructor

Parameters
int$assetidthe asset id to be loaded

Definition at line 50 of file trigger_action_set_session_var.inc.


The documentation for this class was generated from the following file: