/** * Constructor * * Build an IRList object based on LibertyContent * @param integer IRList identifer * @param integer Base content_id identifier */ function IRList($pIRId = NULL, $pContentId = NULL) { LibertyContent::LibertyContent(); $this->registerContentType(IRLIST_CONTENT_TYPE_GUID, array('content_type_guid' => IRLIST_CONTENT_TYPE_GUID, 'content_name' => 'IR List Entry', 'handler_class' => 'IRList', 'handler_package' => 'irlist', 'handler_file' => 'IRList.php', 'maintainer_url' => 'http://lsces.org.uk')); $this->mIRId = (int) $pIRId; $this->mContentId = (int) $pContentId; $this->mContentTypeGuid = IRLIST_CONTENT_TYPE_GUID; }