芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/airport-back/vendor/yiisoft/yii2-gii/src/generators/model/default/query.php
label) */ /** @var string[] $rules list of validation rules */ /** @var array $relations list of relations (name => relation declaration) */ /** @var string $className class name */ /** @var string $modelClassName related model class name */ $modelFullClassName = $modelClassName; if ($generator->ns !== $generator->queryNs) { $modelFullClassName = '\\' . $generator->ns . '\\' . $modelFullClassName; } echo " namespace = $generator->queryNs ?>; /** * This is the ActiveQuery class for [[= $modelFullClassName ?>]]. * * @see = $modelFullClassName . "\n" ?> */ class = $className ?> extends = '\\' . ltrim($generator->queryBaseClass, '\\') . "\n" ?> { /*public function active() { return $this->andWhere('[[status]]=1'); }*/ /** * {@inheritdoc} * @return = $modelFullClassName ?>[]|array */ public function all($db = null) { return parent::all($db); } /** * {@inheritdoc} * @return = $modelFullClassName ?>|array|null */ public function one($db = null) { return parent::one($db); } }