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


PHP JLToolBarHelper::save方法代碼示例

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


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

示例1: addToolbar

 /**
  * Add the page title and toolbar.
  */
 protected function addToolbar()
 {
     // Set toolbar items for the page
     if ($this->copy) {
         $toolbarTitle = JText::_('COM_JOOMLEAGUE_ADMIN_PROJECT_COPY_PROJECT');
     } else {
         $toolbarTitle = !$this->edit ? JText::_('COM_JOOMLEAGUE_ADMIN_PROJECT_ADD_NEW') : JText::_('COM_JOOMLEAGUE_ADMIN_PROJECT_EDIT') . ': ' . $this->form->getValue('name');
         JToolBarHelper::divider();
     }
     JToolBarHelper::title($toolbarTitle, 'jl-ProjectSettings');
     if (!$this->copy) {
         JLToolBarHelper::apply('project.apply');
         JLToolBarHelper::save('project.save');
     } else {
         JLToolBarHelper::save('project.copysave');
     }
     JToolBarHelper::divider();
     if (!$this->edit || $this->copy) {
         JLToolBarHelper::cancel('project.cancel');
     } else {
         // for existing items the button is renamed `close`
         JLToolBarHelper::cancel('project.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE');
     }
     JToolBarHelper::help('screen.joomleague', true);
 }
開發者ID:hfmprs,項目名稱:JoomLeague,代碼行數:28,代碼來源:view.html.php

示例2: addToolBar

 protected function addToolBar()
 {
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETO_TITLE'));
     JLToolBarHelper::save('treeto.save');
     JLToolBarHelper::apply('treeto.apply');
     JToolBarHelper::back('Back', 'index.php?option=com_joomleague&view=treetos&task=treeto.display');
     JToolBarHelper::help('screen.joomleague', true);
 }
開發者ID:hfmprs,項目名稱:JoomLeague,代碼行數:8,代碼來源:view.html.php

示例3: addToolbar

 /**
  * Add the page title and toolbar
  */
 protected function addToolbar()
 {
     // Set toolbar items for the page
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TEMPLATES_TITLE'), 'FrontendSettings');
     JLToolBarHelper::editList('template.edit');
     JLToolBarHelper::save('template.save');
     if ($this->projectws->master_template) {
         JLToolBarHelper::deleteList('', 'template.remove');
     } else {
         JLToolBarHelper::custom('template.reset', 'restore', 'restore', JText::_('COM_JOOMLEAGUE_GLOBAL_RESET'));
     }
     JToolBarHelper::divider();
     JToolBarHelper::help('screen.joomleague', true);
 }
開發者ID:Heart1010,項目名稱:JoomLeague,代碼行數:17,代碼來源:view.html.php

示例4: addToolbar

 /**
  * Add the page title and toolbar.
  *
  * @since	1.7
  */
 protected function addToolbar()
 {
     JToolBarHelper::title(JText::_('Edit project depending referee data'), 'Referees');
     // Set toolbar items for the page
     $edit = JRequest::getVar('edit', true);
     $text = !$edit ? JText::_('COM_JOOMLEAGUE_GLOBAL_NEW') : JText::_('COM_JOOMLEAGUE_GLOBAL_EDIT');
     JLToolBarHelper::save('projectreferee.save');
     if (!$edit) {
         JLToolBarHelper::cancel('projectreferee.cancel');
     } else {
         // for existing items the button is renamed `close` and the apply button is showed
         JLToolBarHelper::apply('projectreferee.apply');
         JLToolBarHelper::cancel('projectreferee.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE');
     }
     JLToolBarHelper::onlinehelp();
 }
開發者ID:santas156,項目名稱:joomleague-2-komplettpaket,代碼行數:21,代碼來源:view.html.php

示例5: defined

<?php

defined('_JEXEC') or die('Restricted access');
JHTML::_('behavior.tooltip');
JHTML::_('behavior.modal');
jimport('joomla.html.pane');
JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETONODE_TITLE'));
JLToolBarHelper::save('treetonode.save');
JLToolBarHelper::apply('treetonode.apply');
JToolBarHelper::back('Back', 'index.php?option=com_joomleague&view=treetonodes&task=treetonode.display');
JLToolBarHelper::custom('treetonode.unpublishnode', 'delete.png', 'delete_f2.png', JText::_('COM_JOOMLEAGUE_ADMIN_TREETONODES_UNPUBLISH'), false);
JLToolBarHelper::onlinehelp();
?>

<script>
		function submitbutton(pressbutton) {
			var form = $('adminForm');
			if (pressbutton == 'cancel') {
				submitform(pressbutton);
				return;
			}
			submitform(pressbutton);
			return;
		}

</script>

<style type="text/css">
	table.paramlist td.paramlist_key {
		width: 92px;
		text-align: left;
開發者ID:santas156,項目名稱:joomleague-2-komplettpaket,代碼行數:31,代碼來源:form.php

示例6: addToolbar_Editlist

 /**
  * Add the page title and toolbar.
  *
  * @since	1.6
  */
 protected function addToolbar_Editlist()
 {
     // Set toolbar items for the page
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_PROJECTTEAMS_ASSIGN'));
     JLToolBarHelper::save('projectteam.save_teamslist');
     // for existing items the button is renamed `close` and the apply button is showed
     JLToolBarHelper::cancel('projectteam.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE');
     JLToolBarHelper::onlinehelp();
 }
開發者ID:santas156,項目名稱:joomleague-2-komplettpaket,代碼行數:14,代碼來源:view.html.php

示例7: defined

<?php

defined('_JEXEC') or die('Restricted access');
JHtml::_('behavior.tooltip');
// Set toolbar items for the page
//$edit = JRequest::getVar('edit',true);
JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_TREETOMATCH_ASSIGN'));
JLToolBarHelper::save('treetomatch.save_matcheslist');
// for existing items the button is renamed `close` and the apply button is showed
//JLToolBarHelper::cancel( 'cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE' );
JToolBarHelper::back('Back', 'index.php?option=com_joomleague&view=treetonodes&task=treetonode.display');
JToolBarHelper::help('screen.joomleague', true);
$uri = JFactory::getURI();
?>
<!-- import the functions to move the events between selection lists  -->
<?php 
$version = urlencode(JoomleagueHelper::getVersion());
echo JHtml::script('JL_eventsediting.js?v=' . $version, 'administrator/components/com_joomleague/assets/js/');
?>
<script>
	function submitbutton(pressbutton)
	{
		var form = $('adminForm');
		if (pressbutton == 'cancel')
		{
			submitform( pressbutton );
			return;
		}
		var mylist = document.getElementById('node_matcheslist');
		for(var i=0; i<mylist.length; i++)
		{
開發者ID:Heart1010,項目名稱:JoomLeague,代碼行數:31,代碼來源:editlist.php

示例8: addToolbar_Editlist

 /**
  * Add the page title and toolbar.
  *
  * @since	1.7
  */
 protected function addToolbar_Editlist()
 {
     JToolBarHelper::title(JText::_('COM_JOOMLEAGUE_ADMIN_P_POSITION_EDIT_TITLE'), 'Positions');
     JLToolBarHelper::save('projectposition.save_positionslist');
     JLToolBarHelper::cancel('projectposition.cancel', 'COM_JOOMLEAGUE_GLOBAL_CLOSE');
     JToolBarHelper::help('screen.joomleague', true);
 }
開發者ID:Heart1010,項目名稱:JoomLeague,代碼行數:12,代碼來源:view.html.php


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