API Joomla 1.5.26
Documentation des API du CMS Joomla en version 1.5
|
JToolBar::__construct | ( | $ | name = 'toolbar' | ) |
Références $name.
JToolBar::addButtonPath | ( | $ | path | ) |
Add a directory where JToolBar should search for button types
You may either pass a string or an array of directories.
JParameter will be searching for an element type in the same order you added them. If the parameter type cannot be found in the custom folders, it will look in JParameter/types.
public
string|array | directory or directories to search. |
Références $path.
JToolBar::appendButton | ( | ) |
Set a value
public
string | The name of the param |
string | The value of the parameter |
& JToolBar::getInstance | ( | $ | name = 'toolbar' | ) |
Returns a reference to a global JToolBar object, only creating it if it doesn't already exist.
This method must be invoked as:
$toolbar = & JToolBar::getInstance( $name );
public
string | $name | The name of the toolbar. |
Références $name.
Référencé par MediaViewMedia::_setToolBar(), JSubMenuHelper::addEntry(), JToolBarHelper::addNew(), JToolBarHelper::addNewX(), JToolBarHelper::apply(), JToolBarHelper::archiveList(), JToolBarHelper::assign(), JToolBarHelper::back(), JToolBarHelper::cancel(), JToolBarHelper::custom(), JToolBarHelper::customX(), JToolBarHelper::deleteList(), JToolBarHelper::deleteListX(), MenusViewList::display(), JToolBarHelper::divider(), JToolBarHelper::editCss(), JToolBarHelper::editCssX(), JToolBarHelper::editHtml(), JToolBarHelper::editHtmlX(), JToolBarHelper::editList(), JToolBarHelper::editListX(), JAdminSubMenu::get(), JToolBarHelper::help(), JToolBarHelper::makeDefault(), JToolBarHelper::media_manager(), JToolBarHelper::preferences(), JToolBarHelper::preview(), JToolBarHelper::publish(), JToolBarHelper::publishList(), JToolBarHelper::save(), JToolBarHelper::spacer(), JToolBarHelper::trash(), JToolBarHelper::unarchiveList(), JToolBarHelper::unpublish(), et JToolBarHelper::unpublishList().
& JToolBar::loadButtonType | ( | $ | type, |
$ | new = false |
||
) |
Loads a button type
public
string | buttonType |
Références $file, $type, JFilterInput::clean(), JPath::find(), jimport(), et JError::raiseWarning().
JToolBar::prependButton | ( | ) |
Get a value
public
string | The name of the param |
mixed | The default value if not found |
JToolBar::render | ( | ) |
Render
public
string | The name of the control, or the default text area if a setup file is not found |
Références $button.
JToolBar::renderButton | ( | &$ | node | ) |
Render a parameter type
object | A param tag node |
string | The control name |
Error Occurred
Références $button, $type, et JText::_().
JToolBar::$_bar = array () |
JToolBar::$_buttonPath = array () |
JToolBar::$_buttons = array () |
JToolBar::$_name = array () |