Exemplo n.º 1
0
 /**
  * During initialisation, be sure to call our base constructors
  **/
 function YellowPages($pYellowPagesId = NULL, $pContentId = NULL)
 {
     LibertyAttachable::LibertyAttachable();
     $this->mYellowPagesId = $pYellowPagesId;
     $this->mContentId = $pContentId;
     $this->mContentTypeGuid = YELLOWPAGES_CONTENT_TYPE_GUID;
     $this->registerContentType(YELLOWPAGES_CONTENT_TYPE_GUID, array('content_type_guid' => YELLOWPAGES_CONTENT_TYPE_GUID, 'content_name' => 'Yellowpages Listing', 'handler_class' => 'YellowPages', 'handler_package' => 'yellowpages', 'handler_file' => 'YellowPages.php', 'maintainer_url' => 'http://www.bitweaver.org'));
 }
Exemplo n.º 2
0
 /**
  * During initialisation, be sure to call our base constructors
  **/
 function BitForumTopic($pBitForumTopicId = NULL, $pContentId = NULL)
 {
     LibertyAttachable::LibertyAttachable();
     $this->mBitForumTopicId = $pBitForumTopicId;
     $this->mContentId = $pContentId;
     $this->mContentTypeGuid = BITFORUMTOPIC_CONTENT_TYPE_GUID;
     $this->registerContentType(BITFORUMTOPIC_CONTENT_TYPE_GUID, array('content_type_guid' => BITFORUMTOPIC_CONTENT_TYPE_GUID, 'content_description' => 'BitForumTopic package with bare essentials', 'handler_class' => 'BitForumTopic', 'handler_package' => 'bitforum', 'handler_file' => 'BitForumTopic.php', 'maintainer_url' => 'http://www.bitweaver.org'));
 }
Exemplo n.º 3
0
 /**
  * During initialisation, be sure to call our base constructors
  **/
 function BitSiteHome($pSiteHomeId = NULL, $pContentId = NULL)
 {
     LibertyAttachable::LibertyAttachable();
     $this->mSiteHomeId = $pSiteHomeId;
     $this->mContentId = $pContentId;
     $this->mContentTypeGuid = BITSITEHOME_CONTENT_TYPE_GUID;
     $this->registerContentType(BITSITEHOME_CONTENT_TYPE_GUID, array('content_type_guid' => BITSITEHOME_CONTENT_TYPE_GUID, 'content_name' => 'Site Homepage', 'handler_class' => 'BitSiteHome', 'handler_package' => 'sitehome', 'handler_file' => 'BitSiteHome.php', 'maintainer_url' => 'http://www.bitweaver.org'));
     // Permission setup
     $this->mViewContentPerm = 'p_sitehome_read';
     $this->mCreateContentPerm = 'p_sitehome_create';
     $this->mUpdateContentPerm = 'p_sitehome_update';
     $this->mAdminContentPerm = 'p_sitehome_admin';
 }
Exemplo n.º 4
0
 function BitMapper()
 {
     LibertyAttachable::LibertyAttachable();
     $this->loadSettings();
 }