label) */ /* @var $rules string[] list of validation rules */ echo " namespace ns ?>; use Yii; /** * This is the model class for index "". * columns as $column): ?> * @property isMva ? 'array' : $column->phpType ?> name}\n" ?> */ class extends baseClass, '\\') . "\n" ?> { /** * @inheritdoc */ public static function indexName() { return 'generateIndexName($indexName) ?>'; } db !== 'sphinx'): ?> /** * @return \yii\sphinx\Connection the database connection used by this AR class. */ public static function getDb() { return Yii::$app->get('db ?>'); } /** * @inheritdoc */ public function rules() { return []; } /** * @inheritdoc */ public function attributeLabels() { return [ $label): ?> " . $generator->generateString($label) . ",\n" ?> ]; } }