Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

Task Class Reference

Inheritance diagram for Task:
MashableActivity Activity MashableActivityInterface OwnedSecurableItem SecurableItem Item CustomFieldsModel RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()
 doNotificationSubscribersContainPerson (Item $item)

Static Public Member Functions

static getModuleClassName ()
static canSaveMetadata ()
static getDefaultMetadata ()
static isTypeDeletable ()
static getMashableActivityRulesType ()
static hasReadPermissionsOptimization ()
static getGamificationRulesType ()
static getStatusDropDownArray ()
static getStatusDisplayName ($status)
static hasReadPermissionsSubscriptionOptimization ()

Data Fields

const STATUS_NEW = 1
const STATUS_IN_PROGRESS = 2
const STATUS_AWAITING_ACCEPTANCE = 3
const STATUS_REJECTED = 4
const STATUS_COMPLETED = 5

Protected Member Functions

 constructDerived ($bean, $setDefaults)
 beforeSave ()
 afterSave ()
 resolveAndSetDefaultSubscribers ()
 resolveStatusAndSetCompletedFields ()

Static Protected Member Functions

static translatedAttributeLabels ($language)

Detailed Description

Definition at line 37 of file Task.php.


Member Function Documentation

__toString (  ) 
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 55 of file Task.php.

static getModuleClassName (  )  [static]

Gets module class name

Returns:
string

Reimplemented from Activity.

Definition at line 75 of file Task.php.

static canSaveMetadata (  )  [static]
Returns:
bool

Reimplemented from Activity.

Definition at line 83 of file Task.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from Activity.

Definition at line 91 of file Task.php.

constructDerived ( bean,
setDefaults 
) [protected]
Parameters:
RedBean_OODBBean $bean
bool $setDefaults
Exceptions:
NoCurrentUserSecurityException 

Reimplemented from OwnedSecurableItem.

Definition at line 149 of file Task.php.

static translatedAttributeLabels ( language  )  [static, protected]
Parameters:
$language 
Returns:
array

Reimplemented from Activity.

Definition at line 174 of file Task.php.

static isTypeDeletable (  )  [static]
Returns:
bool

Reimplemented from Activity.

Definition at line 193 of file Task.php.

static getMashableActivityRulesType (  )  [static]
Returns:
string

Reimplemented from MashableActivity.

Definition at line 201 of file Task.php.

beforeSave (  )  [protected]
Returns:
bool

Reimplemented from Item.

Definition at line 209 of file Task.php.

static hasReadPermissionsOptimization (  )  [static]
Returns:
bool

Reimplemented from SecurableItem.

Definition at line 226 of file Task.php.

static getGamificationRulesType (  )  [static]
Returns:
string

Reimplemented from Item.

Definition at line 234 of file Task.php.

static getStatusDropDownArray (  )  [static]
Returns:
array of status values and labels

Definition at line 242 of file Task.php.

static getStatusDisplayName ( status  )  [static]

Gets the display name for the status

Parameters:
int $status

Definition at line 257 of file Task.php.

static hasReadPermissionsSubscriptionOptimization (  )  [static]
Returns:
bool

Reimplemented from OwnedSecurableItem.

Definition at line 270 of file Task.php.

afterSave (  )  [protected]

Handle Permitable Attachment/Detachment after model has been saved.

Reimplemented from OwnedSecurableItem.

Definition at line 287 of file Task.php.

resolveAndSetDefaultSubscribers (  )  [protected]

Resolve and set default subscribers

Definition at line 344 of file Task.php.

resolveStatusAndSetCompletedFields (  )  [protected]

Resolve status and set completed fields

Definition at line 357 of file Task.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 16 07:10:28 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8