/** * Returns table name * @see CActiveRecord::tableName() * @return string */ public function tableName() { if (!$this->_tableName) { $this->_tableName = parent::tableName(); } return $this->_tableName; }