Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Page_Asset_Builder_Management Class Reference
Inheritance diagram for Page_Asset_Builder_Management:
Asset_Management MySource_Object

Public Member Functions

 __construct (&$pm)
 
 getEventList ()
 
 _upgrade ($current_version)
 
 _upgrade03To04 ()
 
- Public Member Functions inherited from Asset_Management
 Asset_Management (&$pm)
 
 getAssetType ()
 
 update ()
 
 _updateFiles ()
 
 _install ()
 
 _upgrade ($current_version)
 
 _getAllVars ()
 
 _getFileList ()
 
 getEventList ()
 
 _addAttribute ($name)
 
 _deleteAttribute ($name)
 
 _updateAttribute ($name, $current_version)
 
 _updateOwnedAttribute ($name, $curr_attr)
 
 _updateCustomAttribute ($attributeid, $name, $field, $old_type_code, $new_type_code, $new_value)
 
 _validateAttributeDefault (&$default, $attr_type, $parameters)
 
 getAssetInfo ($file)
 
 _installDALQueries ()
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Additional Inherited Members

- Data Fields inherited from Asset_Management
 $_pm
 
 $_am
 
 $_db
 
 $vars = Array()
 
 $components = Array()
 

Detailed Description

Definition at line 29 of file page_asset_builder_management.inc.

Constructor & Destructor Documentation

__construct ( $pm)

Constructor

Array of asset type codes that this page can create

Locations under which created assets will always be linked Array (assetid => link_type)

Sets of locations for the user to choose from when creating assets, with selection options Array (name => Array('locations' => Array (assetid => name), 'allow_multiple' => 0 | 1, 'allow_empty' => 0 | 1, 'input_style' => 'dropdown' | 'radio', 'link_type' => link_type ) )

Dynamically-generated sets of locations for the user to choose from when creating assets Array( 'set_name' => Array( 'root' => location_id, // from asset_finder 'depth' => 0, // default to infinite levels 'types' => Array( // follows the format of the asset_type_selector 'type_code' => Array( 0 => 'sample_type_code', ), 'inherit' => Array( 0 => '1', ), 'filter_link_type' => Array(), // filter the locations list with this/these link_type(s). excludes the selected link types, none selected by default 'link_types' => SQ_LINK_TYPE_1, // create the asset and link it with this link_type 'input_style' => 'dropdown', // or 'radio' 'display_structured' => 0 // Whether the dropbox or radio displays a tree, or a flat list of asset names 'allow_multiple' => false, // boolean 'allow_empty' => false, // boolean ) )

Rules governing additional create locations Array (create_type => Array (index => Array('attributes' => Array(index => attribute_name), 'comparators' => Array(index => comparator_name), 'values' => Array(index => comparison_value),

'locations' => Array(index => assetid), 'link_types' => Array(index => link_type) ) ) )

WYSIWYGs

Definition at line 37 of file page_asset_builder_management.inc.

Member Function Documentation

_upgrade (   $current_version)

Upgrade

Parameters
string$current_versionthe version of the asset that is currenly installed
Returns
boolean public

Definition at line 476 of file page_asset_builder_management.inc.

_upgrade03To04 ( )

Upgrade from version 03 to 04

Returns
boolean public

Definition at line 611 of file page_asset_builder_management.inc.

getEventList ( )

Return an array with information about the events that the account manager is listening for

Returns
boolean public

Definition at line 447 of file page_asset_builder_management.inc.


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