示例#1
0
 function BxStoreDb(&$oConfig)
 {
     parent::BxDolTwigModuleDb($oConfig);
     $this->_sTableMain = 'products';
     $this->_sTableMediaPrefix = 'product_';
     $this->_sFieldId = 'id';
     $this->_sFieldAuthorId = 'author_id';
     $this->_sFieldUri = 'uri';
     $this->_sFieldTitle = 'title';
     $this->_sFieldDescription = 'desc';
     $this->_sFieldTags = 'tags';
     $this->_sFieldThumb = 'thumb';
     $this->_sFieldStatus = 'status';
     $this->_sFieldFeatured = 'featured';
     $this->_sFieldCreated = 'created';
     $this->_sFieldAllowViewTo = 'allow_view_product_to';
 }
 function MlClonetwoDb(&$oConfig)
 {
     parent::BxDolTwigModuleDb($oConfig);
     $this->_sTableMain = 'main';
     $this->_sTableMediaPrefix = '';
     $this->_sFieldId = 'id';
     $this->_sFieldAuthorId = 'author_id';
     $this->_sFieldUri = 'uri';
     $this->_sFieldTitle = 'title';
     $this->_sFieldDescription = 'desc';
     $this->_sFieldTags = 'tags';
     $this->_sFieldThumb = 'thumb';
     $this->_sFieldStatus = 'status';
     $this->_sFieldFeatured = 'featured';
     $this->_sFieldCreated = 'created';
     $this->_sFieldJoinConfirmation = 'join_confirmation';
     $this->_sFieldFansCount = 'fans_count';
     $this->_sTableFans = 'fans';
     $this->_sTableAdmins = 'admins';
     $this->_sFieldAllowViewTo = 'allow_view_clonetwo_to';
 }
示例#3
0
 function BxEventsDb(&$oConfig)
 {
     parent::BxDolTwigModuleDb($oConfig);
     $this->_sTableMain = 'main';
     $this->_sTableMediaPrefix = '';
     $this->_sFieldId = 'ID';
     $this->_sFieldAuthorId = 'ResponsibleID';
     $this->_sFieldUri = 'EntryUri';
     $this->_sFieldTitle = 'Title';
     $this->_sFieldDescription = 'Description';
     $this->_sFieldTags = 'Tags';
     $this->_sFieldThumb = 'PrimPhoto';
     $this->_sFieldStatus = 'Status';
     $this->_sFieldFeatured = 'Featured';
     $this->_sFieldCreated = 'Date';
     $this->_sFieldJoinConfirmation = 'JoinConfirmation';
     $this->_sFieldFansCount = 'FansCount';
     $this->_sTableFans = 'participants';
     $this->_sTableAdmins = 'admins';
     $this->_sFieldAllowViewTo = 'allow_view_event_to';
 }