/** * Get string listing all the fields to select from both core and plugin table. * Overriding parent implementation b/c we're returning a custom field, average reply count. * @return str */ protected function getFieldList() { return parent::getFieldList() . ", " . $this->getAverageReplyCount() . " "; }
public function __construct() { parent::__construct('TestData', 'test_data'); $this->setObjectName('TestData'); $this->setMetaTableName('test_data'); }