protected function init() { parent::init(); $this->image_set_shortname = 'files'; }
protected function init() { parent::init(); $this->table = 'PinholePhoto'; $this->image_set_shortname = 'photos'; $this->registerInternalProperty('image_set', SwatDBClassMap::get('PinholeImageSet')); $this->registerInternalProperty('photographer', SwatDBClassMap::get('PinholePhotographer')); $this->registerInternalProperty('upload_set', SwatDBClassMap::get('PinholePhotoUploadSet')); $this->registerDateProperty('upload_date'); $this->registerDateProperty('publish_date'); $this->registerDateProperty('photo_date'); }