protected function init() { parent::init(); $this->registerInternalProperty('post', SwatDBClassMap::get('BlorgPost')); $this->registerInternalProperty('author', SwatDBClassMap::get('BlorgAuthor')); $this->table = 'BlorgComment'; }
protected function init() { parent::init(); $this->registerInternalProperty('photo', SwatDBClassMap::get('PinholePhoto')); $this->registerInternalProperty('photographer', SwatDBClassMap::get('PinholePhotographer')); $this->table = 'PinholeComment'; }