Class yeesoft\post\models\search\PostSearch

Inheritanceyeesoft\post\models\search\PostSearch » yeesoft\post\models\Post » yeesoft\db\ActiveRecord » yii\db\ActiveRecord
Implementsyeesoft\models\OwnerAccess

PostSearch represents the model behind the search form about common\models\Post.

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$published_at_operand yeesoft\post\models\search\PostSearch

Public Methods

Hide inherited methods

MethodDescriptionDefined By
attributeLabels() yeesoft\post\models\Post
behaviors() yeesoft\post\models\Post
find() yeesoft\post\models\Post
getAuthor() yeesoft\post\models\Post
getCategory() yeesoft\post\models\Post
getCommentStatusList() GetCommentStatusList yeesoft\post\models\Post
getCommentStatusText() yeesoft\post\models\Post
getCreatedDate() yeesoft\post\models\Post
getCreatedDatetime() yeesoft\post\models\Post
getCreatedTime() yeesoft\post\models\Post
getFullAccessPermission() Get permission to check whether the access is denied to users who are not authors of item. yeesoft\post\models\Post
getOwnerField() Returns name of field in the model indicating the author's id. Is used only when $ownerAccessPermission is set yeesoft\post\models\Post
getPublishedDate() yeesoft\post\models\Post
getPublishedDatetime() yeesoft\post\models\Post
getPublishedTime() yeesoft\post\models\Post
getRevision() yeesoft\post\models\Post
getShortContent() yeesoft\post\models\Post
getStatusList() GetTypeList yeesoft\post\models\Post
getStatusOptionsList() GetStatusOptionsList yeesoft\post\models\Post
getStatusText() yeesoft\post\models\Post
getThumbnail() yeesoft\post\models\Post
getUpdatedBy() yeesoft\post\models\Post
getUpdatedDate() yeesoft\post\models\Post
getUpdatedDatetime() yeesoft\post\models\Post
getUpdatedTime() yeesoft\post\models\Post
init() yeesoft\post\models\Post
isMultilingual() Returns TRUE if model support multilingual behavior. yeesoft\db\ActiveRecord
rules() yeesoft\post\models\search\PostSearch
scenarios() yeesoft\post\models\search\PostSearch
search() Creates data provider instance with search query applied yeesoft\post\models\search\PostSearch
tableName() yeesoft\post\models\Post
updateRevision() yeesoft\post\models\Post

Constants

Hide inherited constants

ConstantValueDescriptionDefined By
COMMENT_STATUS_CLOSED 0 yeesoft\post\models\Post
COMMENT_STATUS_OPEN 1 yeesoft\post\models\Post
STATUS_PENDING 0 yeesoft\post\models\Post
STATUS_PUBLISHED 1 yeesoft\post\models\Post

Property Details

$published_at_operand public property
public $published_at_operand null

Method Details

rules() public method

public void rules ( )
scenarios() public method

public void scenarios ( )
search() public method

Creates data provider instance with search query applied

public \yii\data\ActiveDataProvider search ( $params )
$params array