当前位置: 首页>>代码示例>>PHP>>正文


PHP learnpath::__construct方法代码示例

本文整理汇总了PHP中learnpath::__construct方法的典型用法代码示例。如果您正苦于以下问题:PHP learnpath::__construct方法的具体用法?PHP learnpath::__construct怎么用?PHP learnpath::__construct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在learnpath的用法示例。


在下文中一共展示了learnpath::__construct方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: __construct

 /**
  * Class constructor. Based on the parent constructor.
  * @param	string	Course code
  * @param	integer	Learnpath ID in DB
  * @param	integer	User ID
  */
 public function __construct($course_code = null, $resource_id = null, $user_id = null)
 {
     if ($this->debug > 0) {
         error_log('New LP - scorm::scorm(' . $course_code . ',' . $resource_id . ',' . $user_id . ') - In scorm constructor', 0);
     }
     parent::__construct($course_code, $resource_id, $user_id);
 }
开发者ID:daffef,项目名称:chamilo-lms,代码行数:13,代码来源:scorm.class.php

示例2: __construct

 /**
  * Class constructor. Based on the parent constructor.
  * @param	string	Course code
  * @param	integer	Learnpath ID in DB
  * @param	integer	User ID
  */
 public function __construct($course_code = null, $resource_id = null, $user_id = null) {
     if ($this->debug > 0) { error_log('In aicc::aicc()', 0); }
     if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($course_code, $resource_id, $user_id);
     } else {
         //do nothing but still build the aicc object
     }
 }
开发者ID:annickvdp,项目名称:Chamilo1.9.10,代码行数:14,代码来源:aicc.class.php

示例3: __construct

 /**
  * Class constructor. Based on the parent constructor.
  * @param	string	Course code
  * @param	integer	Learnpath ID in DB
  * @param	integer	User ID
  */
 public function __construct($course_code = null, $resource_id = null, $user_id = null)
 {
     if ($this->debug > 0) {
         error_log('In OpenofficeDocument::OpenofficeDocument()', 0);
     }
     if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($course_code, $resource_id, $user_id);
     }
 }
开发者ID:feroli1000,项目名称:chamilo-lms,代码行数:15,代码来源:openoffice_document.class.php

示例4:

 /**
  * Class constructor. Based on the parent constructor.
  * @param    string    Course code
  * @param    integer    Learnpath ID in DB
  * @param    integer    User ID
  */
 function __construct($course_code = null, $resource_id = null, $user_id = null)
 {
     if ($this->debug > 0) {
         error_log('New LP - scorm::scorm(' . $course_code . ',' . $resource_id . ',' . $user_id . ') - In scorm constructor', 0);
     }
     if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($course_code, $resource_id, $user_id);
     } else {
         // Do nothing but still build the scorm object.
     }
 }
开发者ID:ilosada,项目名称:chamilo-lms-icpna,代码行数:17,代码来源:scorm.class.php

示例5: __construct

 /**
  * Class constructor. Based on the parent constructor.
  * @param    string    Course code
  * @param    integer    Learnpath ID in DB
  * @param    integer    User ID
  */
 public function __construct($course_code = null, $resource_id = null, $user_id = null)
 {
     if ($this->debug > 0) {
         error_log('In OpenofficeDocument::OpenofficeDocument()', 0);
     }
     if (!empty($course_code) && !empty($resource_id) && !empty($user_id)) {
         parent::__construct($course_code, $resource_id, $user_id);
     } else {
         // Do nothing but still build the presentation object.
     }
 }
开发者ID:ilosada,项目名称:chamilo-lms-icpna,代码行数:17,代码来源:openoffice_document.class.php


注:本文中的learnpath::__construct方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。