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


PHP ilObjectGUI::__construct方法代码示例

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


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

示例1: __construct

 public function __construct()
 {
     global $lng, $ilCtrl;
     $this->type = "svy";
     $lng->loadLanguageModule("survey");
     $this->ctrl = $ilCtrl;
     $this->ctrl->saveParameter($this, "ref_id");
     parent::__construct("", (int) $_GET["ref_id"], true, false);
 }
开发者ID:arlendotcn,项目名称:ilias,代码行数:9,代码来源:class.ilObjSurveyGUI.php

示例2: __construct

 /**
  * Constructor
  *
  * @access public
  * @param
  * @return
  */
 public function __construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output = true)
 {
     global $ilCtrl, $lng, $tpl;
     $this->type = "sess";
     parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
     $this->lng = $lng;
     $this->lng->loadLanguageModule("event");
     $this->lng->loadLanguageModule('crs');
     $this->lng->loadLanguageModule('trac');
     $this->tpl = $tpl;
     $this->ctrl = $ilCtrl;
 }
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:19,代码来源:class.ilObjSessionGUI.php

示例3: __construct

 /**
  * Constructor
  * @access public
  */
 public function __construct($a_data, $a_id, $a_call_by_reference)
 {
     $this->type = 'mail';
     parent::__construct($a_data, $a_id, $a_call_by_reference, false);
     $this->lng->loadLanguageModule('mail');
 }
开发者ID:arlendotcn,项目名称:ilias,代码行数:10,代码来源:class.ilObjMailGUI.php

示例4: __construct

 /**
  * Contructor
  * @access public
  */
 public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
 {
     $this->type = 'frma';
     parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
     $this->lng->loadLanguageModule('forum');
 }
开发者ID:Walid-Synakene,项目名称:ilias,代码行数:10,代码来源:class.ilObjForumAdministrationGUI.php

示例5: __construct

 public function __construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output = true)
 {
     /**
      * @var $ilCtrl ilCtrl
      * @var $ilAccess ilAccessHandler
      * @var $ilObjDataCache ilObjectDataCache
      */
     global $ilCtrl, $ilAccess, $ilObjDataCache;
     $this->ctrl = $ilCtrl;
     $this->ctrl->saveParameter($this, array('ref_id', 'cmdClass'));
     $this->type = 'frm';
     parent::__construct($a_data, $a_id, $a_call_by_reference, false);
     $this->lng->loadLanguageModule('forum');
     $this->initSessionStorage();
     // Forum properties
     $this->objProperties = ilForumProperties::getInstance($ilObjDataCache->lookupObjId($_GET['ref_id']));
     // Stored due to performance issues
     $this->is_moderator = $ilAccess->checkAccess('moderate_frm', '', $_GET['ref_id']);
     // Model of current topic/thread
     $this->objCurrentTopic = new ilForumTopic((int) $_GET['thr_pk'], $this->is_moderator);
     // Model of current post
     $this->objCurrentPost = new ilForumPost((int) $_GET['pos_pk'], $this->is_moderator);
     $frma_set = new ilSetting('frma');
     $this->forum_overview_setting = $frma_set->get('forum_overview');
 }
开发者ID:bheyser,项目名称:qplskl,代码行数:25,代码来源:class.ilObjForumGUI.php

示例6: __construct

 /**
  * Constructor
  * @param
  * @return
  */
 public function __construct($a_data, $a_id, $a_call_by_reference = true, $a_prepare_output = true)
 {
     global $lng;
     parent::__construct($a_data, $a_id, $a_call_by_reference, $a_prepare_output);
     $lng->loadLanguageModule('objref');
 }
开发者ID:bheyser,项目名称:qplskl,代码行数:11,代码来源:class.ilContainerReferenceGUI.php


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