12345678910111213141516171819202122232425262728293031323334 |
- <?php
- namespace app\models\base;
- /**
- * This is the ActiveQuery class for [[StoryRelation]].
- *
- * @see StoryRelation
- */
- class StoryRelationQuery extends \yii\db\ActiveQuery
- {
- /*public function active()
- {
- return $this->andWhere('[[status]]=1');
- }*/
- /**
- * {@inheritdoc}
- * @return StoryRelation[]|array
- */
- public function all($db = null)
- {
- return parent::all($db);
- }
- /**
- * {@inheritdoc}
- * @return StoryRelation|array|null
- */
- public function one($db = null)
- {
- return parent::one($db);
- }
- }
|