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

Public Member Functions

 Asset_Status_Editing ($owner)
 
 getAvailableStatii ()
 
 getStatusChangeMessage ()
 
 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 36 of file asset_status_editing.inc.

Member Function Documentation

Asset_Status_Editing (   $owner)

Constructor

Parameters
objectAsset $owner the asset that this status belongs to

Definition at line 45 of file asset_status_editing.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 74 of file asset_status_editing.inc.

static getDescription ( )
static

Returns a string used to describe this status

Returns
string public

Definition at line 60 of file asset_status_editing.inc.

getStatusChangeMessage ( )

Get a message about status change options

Returns
string public

Definition at line 167 of file asset_status_editing.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 188 of file asset_status_editing.inc.


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