It returns the value directly, not like other model classes. It should be
something like:
public function tableName()
{
if (isset(Yum::module()->profileFieldsTable))
$this->_tableName = Yum::module()->profileFieldsTable;
elseif (isset(Yii::app()->modules['user']['profileCommentTable']))
$this->_tableName = Yii::app()->modules['user']['profileCommentTable'];
else
$this->_tableName = '{{profile_comment}}'; // fallback if nothing is set
return Yum::resolveTableName($this->_tableName,$this->getDbConnection());
}
Original issue reported on code.google.com by jan...@gmail.com on 17 Jan 2011 at 5:43
Original issue reported on code.google.com by
jan...@gmail.com
on 17 Jan 2011 at 5:43