本文整理汇总了PHP中CLMText::stringOnchange方法的典型用法代码示例。如果您正苦于以下问题:PHP CLMText::stringOnchange方法的具体用法?PHP CLMText::stringOnchange怎么用?PHP CLMText::stringOnchange使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CLMText
的用法示例。
在下文中一共展示了CLMText::stringOnchange方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: _getParameters
function _getParameters()
{
$mainframe =& JFactory::getApplication();
global $option;
// search
$this->param['search'] = $mainframe->getUserStateFromRequest("{$option}.search", 'search', '', 'string');
$this->param['search'] = JString::strtolower($this->param['search']);
// parent
$this->param['parentid'] = $mainframe->getUserStateFromRequest("{$option}.filter_parentid", 'filter_parentid', 0, 'int');
// get Tree
list($this->parentArray, $this->parentKeys, $this->parentChilds) = CLMCategoryTree::getTree();
$parentlist[] = JHTML::_('select.option', '0', CLMText::selectOpener(JText::_('NO_PARENT')), 'id', 'name');
foreach ($this->parentArray as $key => $value) {
$parentlist[] = JHTML::_('select.option', $key, $value, 'id', 'name');
}
$this->form['parent'] = JHTML::_('select.genericlist', $parentlist, 'filter_parentid', 'class="inputbox" size="1" style="max-width: 250px;"' . CLMText::stringOnchange(TRUE), 'id', 'name', $this->param['parentid']);
// Modus/Typ
$this->param['modus'] = $mainframe->getUserStateFromRequest("{$option}.filter_modus", 'filter_modus', 0, 'int');
// Bezirk
$this->param['bezirk'] = $mainframe->getUserStateFromRequest("{$option}.filter_bezirk", 'filter_bezirk', 0, 'int');
// Saison
$this->param['sid'] = $mainframe->getUserStateFromRequest("{$option}.filter_sid", 'filter_sid', 0, 'int');
// Statusfilter
$this->param['state'] = $mainframe->getUserStateFromRequest("{$option}.filter_state", 'filter_state', '', 'word');
// Order
$this->param['order'] = $mainframe->getUserStateFromRequest("{$option}.filter_order", 'filter_order', 'a.id', 'cmd');
// JRequest::getString('filter_order', 'a.id');
$this->param['order_Dir'] = $mainframe->getUserStateFromRequest("{$option}.filter_order_Dir", 'filter_order_Dir', '', 'word');
}
示例2: selectPriority
public static function selectPriority($name, $value = 0, $filter = FALSE)
{
$list[] = JHTML::_('select.option', '0', CLMText::selectOpener(JText::_('SELECT_PRIORITY')), 'id', 'name');
for ($p = 35; $p >= 5; $p -= 5) {
$list[] = JHTML::_('select.option', $p, JText::_('TODO_PRIO_' . $p), 'id', 'name');
}
return JHTML::_('select.genericlist', $list, $name, 'class="inputbox" size="1"' . CLMText::stringOnchange($filter), 'id', 'name', intval($value));
}
示例3: _getForms
function _getForms()
{
$ligalist[] = JHTML::_('select.option', '0', CLMText::selectOpener(JText::_('SELECT_LEAGUE')), 'id', 'name');
$query = 'SELECT DISTINCT(li.id), li.name' . ' FROM #__clm_log AS l' . ' LEFT JOIN #__clm_liga AS li on li.id = l.lid' . ' WHERE li.id > 0';
$this->_db->setQuery($query);
$ligalist = array_merge($ligalist, $this->_db->loadObjectList());
$this->forms['lid'] = JHTML::_('select.genericlist', $ligalist, 'lid', 'class="inputbox" size="1"' . CLMText::stringOnchange(TRUE), 'id', 'name', intval($this->param['lid']));
$turnierlist[] = JHTML::_('select.option', '0', CLMText::selectOpener(JText::_('SELECT_TOURNAMENT')), 'id', 'name');
$query = 'SELECT DISTINCT(tu.id), tu.name' . ' FROM #__clm_log AS l' . ' LEFT JOIN #__clm_turniere AS tu on tu.id = l.tid' . ' WHERE tu.id > 0';
$this->_db->setQuery($query);
$turnierlist = array_merge($turnierlist, $this->_db->loadObjectList());
$this->forms['tid'] = JHTML::_('select.genericlist', $turnierlist, 'tid', 'class="inputbox" size="1"' . CLMText::stringOnchange(TRUE), 'id', 'name', intval($this->param['tid']));
}