public function tableName() { // if we haven't retrieved the table prefix yet if ($this->tablePrefix === null) { // fetch prefix $this->tablePrefix = MParams::getTablePrefix(); } // prepend prefix, call our new method return $this->tablePrefix . $this->_tableName(); }