Свойство | Тип | Описание | |
---|---|---|---|
$_oldTags | The old Tags | ||
$person | This is to check the person the Object will be transferd to |
Метод | Описание | |
---|---|---|
Permissions ( ) | ||
Resources ( ) | ||
UpdateTagRelationship ( type $obj ) | Update Tag Relationship of the Object | |
attributeLabels ( ) : array | ||
buildLink ( $obj ) | ||
checkTags ( type $attribute, type $params ) | Check Tags Valid | |
convertObjectCommentType ( type $value ) | Convert from value to the String of the Object Comment | |
convertObjectStatus ( type $value ) | Convert from value to the String of the Object Status | |
convertObjectType ( type $value ) | Convert from value to the String of the Object Type | |
doSearch ( type $type ) : CActiveDataProvider | Do Search Object based on its status | |
extraAfterDelete ( $object ) | ||
extraAfterSave ( $object ) | After Save excucte update Tag Relationship | |
extraBeforeSave ( $type = 'update', $object ) | ||
extraLabel ( ) | ||
extraRelationships ( ) : type | Define Relationships so that its child class can call it | |
extraRules ( ) | ||
extraSearch ( $object ) | ||
getObjectLink ( ) | ||
getRelatedContentByTags ( type $id, type $max ) : CActiveDataProvider | get Related content by Tags | |
getTags ( type $object_id ) : type | Get Tags of the Object | |
getTransferHistory ( $model ) | Get the history workflow of the Object | |
increaseCommentCount ( ) | Increase the comment count by 1 whenever new comment was created. | |
loadPublishedModel ( type $id ) : type | Load Object that has been published and time is <= time() | |
model ( $className = __CLASS__ ) : Object | Returns the static model of the specified AR class. | |
normalizeTags ( type $attribute, type $params ) | Normalize The Tags for the Object - Check Valid | |
relations ( ) : array | ||
rules ( ) : array | ||
saveMetaValue ( type $key, type $value, type $object, type $create = true ) | Save Meta Data of a Object Content Type | |
search ( ) : CActiveDataProvider | Retrieves a list of models based on the current search/filter conditions. | |
suggestContent ( $keyword, $type = '', $limit = 20 ) | ||
tableName ( ) : string |
Метод | Описание | |
---|---|---|
afterDelete ( ) | Excute after Delete Object | |
afterSave ( ) | ||
beforeSave ( ) |
public static UpdateTagRelationship ( type $obj ) | ||
$obj | type |
public attributeLabels ( ) : array | ||
Результат | array | customized attribute labels (name=>label) |
public checkTags ( type $attribute, type $params ) | ||
$attribute | type | |
$params | type |
public static convertObjectCommentType ( type $value ) | ||
$value | type |
public static convertObjectStatus ( type $value ) | ||
$value | type |
public static convertObjectType ( type $value ) | ||
$value | type |
public doSearch ( type $type ) : CActiveDataProvider | ||
$type | type | |
Результат | CActiveDataProvider |
public static extraAfterSave ( $object ) |
public static extraBeforeSave ( $type = 'update', $object ) |
public static extraRelationships ( ) : type | ||
Результат | type |
public static getRelatedContentByTags ( type $id, type $max ) : CActiveDataProvider | ||
$id | type | |
$max | type | |
Результат | CActiveDataProvider |
public static getTags ( type $object_id ) : type | ||
$object_id | type | |
Результат | type |
public static getTransferHistory ( $model ) |
public increaseCommentCount ( ) |
public static loadPublishedModel ( type $id ) : type | ||
$id | type | |
Результат | type |
public static model ( $className = __CLASS__ ) : Object | ||
Результат | Object | the static model class |
public normalizeTags ( type $attribute, type $params ) | ||
$attribute | type | |
$params | type |
public static saveMetaValue ( type $key, type $value, type $object, type $create = true ) | ||
$key | type | |
$value | type | |
$object | type | |
$create | type |
public search ( ) : CActiveDataProvider | ||
Результат | CActiveDataProvider | the data provider that can return the models based on the search/filter conditions. |