本文整理汇总了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;
}
示例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;
}
示例3: get_options
protected function get_options()
{
global $CFG;
$options = parent::get_options();
$options['file'] = $CFG->admin . '/roles/lib.php';
return $options;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例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;
}
示例11: get_options
protected function get_options()
{
$options = parent::get_options();
$options['sessionid'] = $this->sessionid;
$options['file'] = 'mod/facetoface/lib.php';
return $options;
}
示例12: get_options
protected function get_options()
{
$options = parent::get_options();
$options['cohortid'] = $this->cohortid;
$options['file'] = 'cohort/locallib.php';
return $options;
}
示例13: get_options
protected function get_options()
{
$options = parent::get_options();
$options['enrolid'] = $this->enrolid;
$options['file'] = 'enrol/manual/locallib.php';
return $options;
}
示例14: get_options
protected function get_options()
{
$options = parent::get_options();
$options['groupid'] = $this->groupid;
$options['courseid'] = $this->courseid;
return $options;
}
示例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;
}