common\models\School::getStores PHP Méthode

getStores() public méthode

public getStores ( ) : ActiveQuery
Résultat yii\db\ActiveQuery
    public function getStores()
    {
        return $this->hasMany(Store::className(), ['school_id' => 'id'])->where(['<>', 'status', Store::STATUS_DISABLED])->orderBy('name ASC');
    }