當前位置: 首頁>>代碼示例>>PHP>>正文


PHP user_selector_base::get_options方法代碼示例

本文整理匯總了PHP中user_selector_base::get_options方法的典型用法代碼示例。如果您正苦於以下問題:PHP user_selector_base::get_options方法的具體用法?PHP user_selector_base::get_options怎麽用?PHP user_selector_base::get_options使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在user_selector_base的用法示例。


在下文中一共展示了user_selector_base::get_options方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: get_options

 protected function get_options()
 {
     $options = parent::get_options();
     $options['companyid'] = $this->companyid;
     $options['file'] = 'blocks/iomad_company_admin/lib.php';
     return $options;
 }
開發者ID:sumitnegi933,項目名稱:Moodle_lms_New,代碼行數:7,代碼來源:user_selectors.php

示例2: get_options

 protected function get_options() {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = 'local/clclasses/classlib.php';
     $options['classid'] = $this->classid;
     return $options;
 }
開發者ID:anilch,項目名稱:Personel,代碼行數:7,代碼來源:classlib.php

示例3: get_options

 protected function get_options()
 {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = $CFG->admin . '/roles/lib.php';
     return $options;
 }
開發者ID:evltuma,項目名稱:moodle,代碼行數:7,代碼來源:admins_potential_selector.php

示例4: get_options

 protected function get_options() {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = 'blocks/learning_plan/enrolluserformlib.php';
     $options['learningplanid'] = $this->learningplanid;
     $options['batch'] = $this->batch;
     return $options;
 }
開發者ID:narasimhaeabyas,項目名稱:tataaiapro,代碼行數:8,代碼來源:enrolluserformlib.php

示例5: get_options

 protected function get_options() {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = 'local/teammanager/employeeformlib.php';
     $options['teammanagerid'] = $this->teammanagerid;        
   
     return $options;
 }
開發者ID:narasimhaeabyas,項目名稱:tataaiapro,代碼行數:8,代碼來源:employeeformlib.php

示例6: get_options

 protected function get_options()
 {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = $CFG->admin . '/roles/lib.php';
     $options['roleid'] = $this->roleid;
     $options['contextid'] = $this->context->id;
     return $options;
 }
開發者ID:pzhu2004,項目名稱:moodle,代碼行數:9,代碼來源:assign_user_selector_base.php

示例7: get_options

 /**
  * Returns an array of options to seralise and store for searches
  *
  * @return array
  */
 protected function get_options()
 {
     $options = parent::get_options();
     $options['file'] = $this->get_filepath();
     $options['context'] = $this->context;
     $options['currentgroup'] = $this->currentgroup;
     $options['forum'] = $this->forum;
     $options['discussion'] = $this->discussion;
     return $options;
 }
開發者ID:cdsmith-umn,項目名稱:moodle-mod_hsuforum,代碼行數:15,代碼來源:abstract.php

示例8: get_options

 /**
  * Returns an array of options to seralise and store for searches
  *
  * @return array
  */
 protected function get_options()
 {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = substr(__FILE__, strlen($CFG->dirroot . '/'));
     $options['context'] = $this->context;
     $options['currentgroup'] = $this->currentgroup;
     $options['forumid'] = $this->forumid;
     return $options;
 }
開發者ID:evltuma,項目名稱:moodle,代碼行數:15,代碼來源:subscriber_selector_base.php

示例9: get_options

 /**
  * Returns an array of options to seralise and store for searches
  *
  * @return array
  */
 protected function get_options()
 {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = 'badges/lib/awardlib.php';
     $options['context'] = $this->context;
     $options['badgeid'] = $this->badgeid;
     $options['issuerid'] = $this->issuerid;
     $options['issuerrole'] = $this->issuerrole;
     return $options;
 }
開發者ID:evltuma,項目名稱:moodle,代碼行數:16,代碼來源:awardlib.php

示例10: get_options

 /**
  * This options are automatically used by the AJAX search
  * @global object $CFG
  * @return object options pass to the constructor when AJAX search call a new selector
  */
 protected function get_options()
 {
     global $CFG;
     $options = parent::get_options();
     $options['file'] = $CFG->admin . '/webservice/lib.php';
     //need to be set, otherwise
     // the /user/selector/search.php
     //will fail to find this user_selector class
     $options['serviceid'] = $this->serviceid;
     $options['displayallowedusers'] = $this->displayallowedusers;
     return $options;
 }
開發者ID:Burick,項目名稱:moodle,代碼行數:17,代碼來源:lib.php

示例11: get_options

 protected function get_options()
 {
     $options = parent::get_options();
     $options['sessionid'] = $this->sessionid;
     $options['file'] = 'mod/facetoface/lib.php';
     return $options;
 }
開發者ID:CWRTP,項目名稱:facetoface-2.0,代碼行數:7,代碼來源:lib.php

示例12: get_options

 protected function get_options()
 {
     $options = parent::get_options();
     $options['cohortid'] = $this->cohortid;
     $options['file'] = 'cohort/locallib.php';
     return $options;
 }
開發者ID:helenagarcia90,項目名稱:moodle,代碼行數:7,代碼來源:locallib.php

示例13: get_options

 protected function get_options()
 {
     $options = parent::get_options();
     $options['enrolid'] = $this->enrolid;
     $options['file'] = 'enrol/manual/locallib.php';
     return $options;
 }
開發者ID:evltuma,項目名稱:moodle,代碼行數:7,代碼來源:locallib.php

示例14: get_options

 protected function get_options()
 {
     $options = parent::get_options();
     $options['groupid'] = $this->groupid;
     $options['courseid'] = $this->courseid;
     return $options;
 }
開發者ID:nmicha,項目名稱:moodle,代碼行數:7,代碼來源:lib.php

示例15: get_options

 /**
  * Add the file name to the $options array to make AJAX searching work
  * @return array
  */
 protected function get_options()
 {
     $options = parent::get_options();
     $options['file'] = 'admin/report/targetgrades/lib.php';
     return $options;
 }
開發者ID:rtsfc,項目名稱:moodle-report_targetgrades,代碼行數:10,代碼來源:lib.php


注:本文中的user_selector_base::get_options方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。