Project Class Reference

Inheritance diagram for Project:
OwnedSecurableItem SecurableItem Item CustomFieldsModel RedBeanModel BeanModel ObservableComponent

Public Member Functions

 __toString ()

Static Public Member Functions

static getByName ($name)
static getModuleClassName ()
static canSaveMetadata ()
static translatedAttributeLabels ($language)
static getDefaultMetadata ()
static isTypeDeletable ()
static hasReadPermissionsOptimization ()
static getGamificationRulesType ()
static getStatusDropDownArray ()

Data Fields

const STATUS_ACTIVE = 1
const STATUS_ARCHIVED = 2

Protected Member Functions

 beforeDelete ()
 afterSave ()

Detailed Description

Definition at line 37 of file Project.php.


Member Function Documentation

static getByName ( name  )  [static]
Parameters:
string $name
Returns:
string

Reimplemented from Item.

Definition at line 50 of file Project.php.

__toString (  ) 
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 58 of file Project.php.

static getModuleClassName (  )  [static]
Returns:
string

Reimplemented from RedBeanModel.

Definition at line 77 of file Project.php.

static canSaveMetadata (  )  [static]
Returns:
bool

Reimplemented from RedBeanModel.

Definition at line 85 of file Project.php.

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

Reimplemented from OwnedSecurableItem.

Definition at line 94 of file Project.php.

static getDefaultMetadata (  )  [static]
Returns:
array

Reimplemented from OwnedSecurableItem.

Definition at line 108 of file Project.php.

static isTypeDeletable (  )  [static]
Returns:
bool

Reimplemented from OwnedSecurableItem.

Definition at line 149 of file Project.php.

static hasReadPermissionsOptimization (  )  [static]
Returns:
bool

Reimplemented from SecurableItem.

Definition at line 157 of file Project.php.

static getGamificationRulesType (  )  [static]
Returns:
string

Reimplemented from Item.

Definition at line 165 of file Project.php.

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

Definition at line 173 of file Project.php.

beforeDelete (  )  [protected]

Delete task associated to project as well

Returns:
bool

Reimplemented from OwnedSecurableItem.

Definition at line 185 of file Project.php.

afterSave (  )  [protected]

Handle audit of projects after save

Reimplemented from OwnedSecurableItem.

Definition at line 205 of file Project.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Sep 25 07:10:28 2017