/** * @return array */ public function attributeNames() { return array_merge(parent::attributeNames(), array('operator')); }
/** * Makes sure the attributeIndexOrDerivedType always populates first before label otherwise any * custom label gets wiped out. * (non-PHPdoc) * @see ComponentForReportForm::attributeNames() */ public function attributeNames() { $attributeNames = parent::attributeNames(); if (count($attributeNames) != 6) { throw new NotSupportedException(); } array_unshift($attributeNames, array_pop($attributeNames)); return $attributeNames; }