public function attributeLabels() { return array_merge(parent::attributeLabels(), array('tipo_codigo' => Yii::t('app', 'Asignación'), 'entidad_tipo' => Yii::t('app', 'Asignado a:'), 'entidad_id' => Yii::t('app', 'Nombre'), 'visitado' => Yii::t('app', 'Visitado'), 'fecha_creacion' => Yii::t('app', 'Creado'))); }
/** * Returns a peer instance associated with this om. * * Since Peer classes are not to have any instance attributes, this method returns the * same instance for all member of this class. The method could therefore * be static, but this would prevent one from overriding the behavior. * * @return NotificacionPeer */ public function getPeer() { if (self::$peer === null) { self::$peer = new NotificacionPeer(); } return self::$peer; }