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

Public Member Functions

 Asset_Status_Pending_Approval ($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 ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 38 of file asset_status_pending_approval.inc.

Member Function Documentation

Constructor

Parameters
objectAsset $owner the asset that this status belongs to

Definition at line 47 of file asset_status_pending_approval.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 76 of file asset_status_pending_approval.inc.

static getDescription ( )
static

Returns a string used to describe this status

Returns
string public

Definition at line 62 of file asset_status_pending_approval.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 143 of file asset_status_pending_approval.inc.


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