메소드 |
설명 |
|
afterDelete ( ) |
|
|
afterFind ( ) |
|
|
allPosts ( ) : CActiveDataProvider |
|
|
attributeLabels ( ) : array |
|
|
beforeSave ( ) : boolean |
|
|
beforeValidate ( ) : boolean |
|
|
behaviors ( ) : array |
|
|
createPublicPost ( array $post ) : boolean |
|
|
deleteUserPost ( $postId, $userId ) : integer |
|
|
findUserPost ( $postId, $userId ) : CActiveRecord |
|
|
get ( $id, array $with = [] ) : mixed |
|
|
getAccessType ( ) : string |
|
|
getAccessTypeList ( ) : array |
|
|
getArchive ( null $blogId = null, integer $cache = 3600 ) : mixed |
|
|
getByTag ( $tag, array $with = ['blog', 'createUser', 'commentsCount'] ) : mixed |
|
|
getCategories ( ) : mixed |
|
|
getCommentCount ( ) : integer | mixed |
|
|
getCommentStatus ( ) : string |
|
|
getCommentStatusList ( ) : array |
|
|
getForBlog ( $blogId ) : Post |
|
|
getForCategory ( $categoryId ) : Post |
|
|
getForUser ( $user ) : Post |
|
|
getLink ( $params = [] ) : mixed |
|
|
getQuote ( integer $limit = 500 ) : string |
|
|
getStatus ( ) : string |
|
|
getStatusList ( ) : array |
|
|
getStream ( integer $limit = 10, $cacheTime ) : mixed |
|
|
getTitle ( ) : mixed | string |
|
|
isDraft ( ) : boolean |
|
|
isPublished ( ) : boolean |
|
|
limit ( integer $count = null ) : self |
Условие для получения определённого количества записей: |
|
model ( string $className = __CLASS__ ) : Post |
Returns the static model of the specified AR class. |
|
publish ( ) : boolean |
|
|
relations ( ) : array |
|
|
rules ( ) : array |
|
|
scopes ( ) : array |
|
|
search ( ) : CActiveDataProvider |
Retrieves a list of models based on the current search/filter conditions. |
|
sortByPubDate ( string $typeSort = 'ASC' ) : self |
Условие для сортировки по дате |
|
tableName ( ) : string |
|
|