本文整理匯總了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']));
}