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

Public Member Functions

 Asset_Status_Bundle_Approved ($owner)
 
 getAvailableStatii ()
 
 processStatusChange ($new_status, $update_parent=TRUE)
 
- Public Member Functions inherited from Asset_Status
 Asset_Status ($owner)
 
 getAvailableStatii ()
 
 getStatusChangeMessage ()
 
 processStatusChange ($new_status, $update_parent=true)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Static Public Member Functions

static getDescription ()
 
- Static Public Member Functions inherited from Asset_Status
static getDescription ()
 

Protected Member Functions

 _bundledAssetAdminAccess ()
 

Additional Inherited Members

- Data Fields inherited from Asset_Status
 $status_tag = 0
 
 $owner = null
 

Detailed Description

Definition at line 38 of file asset_status_bundle_approved.inc.

Member Function Documentation

_bundledAssetAdminAccess ( )
protected

Returns TRUE if at least one asset has admin permission for the current user

Parameters
Workflow_Bundle$ownerBundle using this status
Returns
boolean

Definition at line 133 of file asset_status_bundle_approved.inc.

Constructor

Parameters
objectAsset $owner the asset that this status belongs to

Definition at line 47 of file asset_status_bundle_approved.inc.

getAvailableStatii ( )

Returns an array of statii that the current user can set for this asset Value returned is a key => value array for a drop down

Returns
array public

Definition at line 77 of file asset_status_bundle_approved.inc.

static getDescription ( )
static

Returns a string used to describe this status

Returns
string public

Definition at line 63 of file asset_status_bundle_approved.inc.

processStatusChange (   $new_status,
  $update_parent = TRUE 
)

Processes the changes required when a new status is set Does not change the status of the owner asset or this object

Parameters
int$new_statusthe new status to set for this asset
boolean$update_parentSpecify if we want to update the parent as well
Returns
boolean public

Definition at line 102 of file asset_status_bundle_approved.inc.


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