protected function init()
 {
     parent::init();
     $this->registerInternalProperty('instance', SwatDBClassMap::get('SiteInstance'));
     $this->table = 'MailingListCampaignSegment';
     $this->id_field = 'integer:id';
 }
 protected function init()
 {
     parent::init();
     $this->registerInternalProperty('instance', SwatDBClassMap::get('SiteInstance'));
     $this->table = 'NewsletterTemplate';
     $this->id_field = 'integer:id';
 }
Esempio n. 3
0
 protected function init()
 {
     parent::init();
     $this->table = 'EvaluationReport';
     $this->id_field = 'integer:id';
     $this->registerInternalProperty('provider', SwatDBClassMap::get('CMEProvider'));
     $this->registerDateProperty('quarter');
     $this->registerDateProperty('createdate');
 }
Esempio n. 4
0
 protected function init()
 {
     parent::init();
     $this->table = 'Block';
     $this->registerDateProperty('createdate');
     $this->registerInternalProperty('attachment', SwatDBClassMap::get('SiteAttachment'));
     $this->registerInternalProperty('image', SwatDBClassMap::get('SiteImage'));
     $this->registerInternalProperty('media', SwatDBClassMap::get('SiteMedia'));
     $this->id_field = 'integer:id';
 }
 protected function init()
 {
     parent::init();
     $this->table = 'PinholePhotoMetaDataBinding';
     $this->registerInternalProperty('photo', SwatDBClassMap::get('PinholePhoto'));
     //$this->registerInternalProperty('metadata',
     //	$this->class_map->resolveClass('PinholeMetaData'));
 }
 protected function init()
 {
     parent::init();
     $this->table = 'Newsletter';
     $this->id_field = 'integer:id';
     $this->registerInternalProperty('template', SwatDBClassMap::get('DeliveranceNewsletterTemplate'));
     $this->registerInternalProperty('campaign_segment', SwatDBClassMap::get('DeliveranceCampaignSegment'));
     $this->registerInternalProperty('instance', SwatDBClassMap::get('SiteInstance'));
     $this->registerDateProperty('send_date');
     $this->registerDateProperty('createdate');
 }