Пример #1
0
 /**
  * Gets resource by its internal ID (not the resource table DB ID)
  *
  * @param integer $resourceID The DB ID of the resource in the module table(s)
  * @return CMS_resource The CMS_resource subclassed object
  * @access public
  */
 function getResourceByID($resourceID)
 {
     parent::getResourceByID($resourceID);
     return CMS_tree::getPageByID($resourceID);
 }