Squiz Matrix
4.12.2
|
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 | |
Definition at line 38 of file asset_status_pending_approval.inc.
Asset_Status_Pending_Approval | ( | $owner | ) |
Constructor
object | Asset $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
Definition at line 76 of file asset_status_pending_approval.inc.
|
static |
Returns a string used to describe this status
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
int | $new_status | the new status to set for this asset |
boolean | $update_parent | Specify if we want to update the parent as well |
Definition at line 143 of file asset_status_pending_approval.inc.