Méthode | Description | |
---|---|---|
afterDelete ( ) | ||
attributeDescriptions ( ) : array | ||
attributeLabels ( ) : array | ||
beforeSave ( ) : boolean | ||
beforeValidate ( ) : boolean | ||
behaviors ( ) : array | ||
get ( $id, array $with = ['posts', 'membersCount', 'createUser'] ) : mixed | ||
getBySlug ( $id, array $with = ['posts', 'membersCount', 'createUser'] ) : mixed | ||
getByUrl ( string $url = null ) : self | Условие для получения блога по url | |
getList ( ) : mixed | ||
getListForUser ( $userId ) : array | mixed | ||
getMemberStatusList ( ) : array | ||
getMembersList ( ) : UserToBlog | ||
getMembershipListForUser ( $user ) : mixed | ||
getPostStatusList ( ) : array | ||
getPosts ( ) : Post | ||
getPrivateBlogsForUser ( $userId ) : mixed | ||
getStatus ( ) : string | ||
getStatusList ( ) : array | ||
getType ( ) : string | ||
getTypeList ( ) : array | ||
getUserMembership ( $userId ) : CActiveRecord | ||
hasUserInStatus ( $userId, $status ) : mixed | ||
isOwner ( $userId ) : boolean | ||
isPrivate ( ) : boolean | ||
join ( $userId ) : boolean | ||
leave ( $userId ) : boolean | integer | ||
model ( string $className = __CLASS__ ) : Blog | Returns the static model of the specified AR class. | |
relations ( ) : array | ||
rules ( ) : array | ||
scopes ( ) : array | ||
search ( ) : CActiveDataProvider | ||
tableName ( ) : string | ||
userIn ( $userId, integer $status = UserToBlog::STATUS_ACTIVE ) : boolean | integer |
public attributeDescriptions ( ) : array | ||
Résultat | array | customized attribute descriptions (name=>description) |
public attributeLabels ( ) : array | ||
Résultat | array | customized attribute labels (name=>label) |
public getListForUser ( $userId ) : array | mixed | ||
$userId | ||
Résultat | array | mixed |
public getMembershipListForUser ( $user ) : mixed | ||
$user | ||
Résultat | mixed |
public getPrivateBlogsForUser ( $userId ) : mixed | ||
$userId | ||
Résultat | mixed |
public getUserMembership ( $userId ) : CActiveRecord | ||
$userId | ||
Résultat | CActiveRecord |
public hasUserInStatus ( $userId, $status ) : mixed | ||
$userId | ||
$status | ||
Résultat | mixed |