public static function model($className = __CLASS__) { return parent::model($className); }
protected function afterFind() { parent::afterFind(); $this->realm = 'Valkyrie'; $this->equipmentCache = explode(' ', $this->equipmentCache); switch ($this->race) { case self::RACE_HUMAN: case self::RACE_DWARF: case self::RACE_NIGHTELF: case self::RACE_GNOME: $this->faction = self::FACTION_ALLIANCE; break; default: $this->faction = self::FACTION_HORDE; break; } }