skeeks\cms\models\CmsContentType::getCmsContents PHP 메소드

getCmsContents() 공개 메소드

public getCmsContents ( ) : ActiveQuery
리턴 yii\db\ActiveQuery
    public function getCmsContents()
    {
        return $this->hasMany(CmsContent::className(), ['content_type' => 'code'])->orderBy("priority ASC")->andWhere(['active' => Cms::BOOL_Y]);
    }