[ Indice ]

Riferimento incrociato di Joomla! 1.5.14 - VM 1.1.4

Servizio fornito da VMItalia
Classe:   Funzione:   Variabile:   Costante:  
Storico Ricerche +

titolo

Corpo

[chiudi]

/administrator/includes/ -> toolbar.php (sommario)

(nessuna descrizione)

Copyright: Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: toolbar.php 11307 2008-11-24 00:21:48Z ian $
Dimensione file: 505 righe (15 kb)
Incluso o richiesto: 1 volta
Referenziato: 0 volte
Inclusioni o richieste: 0 files

Definisce 2 classi

JToolBarHelper:: (32 metodi):
  title()
  spacer()
  divider()
  custom()
  customX()
  preview()
  help()
  back()
  media_manager()
  addNew()
  addNewX()
  publish()
  publishList()
  makeDefault()
  assign()
  unpublish()
  unpublishList()
  archiveList()
  unarchiveList()
  editList()
  editListX()
  editHtml()
  editHtmlX()
  editCss()
  editCssX()
  deleteList()
  deleteListX()
  trash()
  apply()
  save()
  cancel()
  preferences()

JSubMenuHelper:: (1 metodo):
  addEntry()


Classe: JToolBarHelper  - X-Ref

Utility class for the button bar

title($title, $icon = 'generic.png')   X-Ref
Title cell
For the title and toolbar to be rendered correctly,
this title fucntion must be called before the starttable function and the toolbars icons
this is due to the nature of how the css has been used to postion the title in respect to the toolbar

param: string The title
param: string The name of the image

spacer($width = '')   X-Ref
Writes a spacer cell

param: string The width for the cell

divider()   X-Ref
Write a divider between menu buttons


custom($task = '', $icon = '', $iconOver = '', $alt = '', $listSelect = true, $x = false)   X-Ref
Writes a custom option and task button for the button bar

param: string The task to perform (picked up by the switch($task) blocks
param: string The image to display
param: string The image to display when moused over
param: string The alt text for the icon image
param: boolean True if required to check that a standard list item is checked
param: boolean True if required to include callinh hideMainMenu()

customX($task = '', $icon = '', $iconOver = '', $alt = '', $listSelect = true)   X-Ref
Writes a custom option and task button for the button bar.
Extended version of custom() calling hideMainMenu() before submitbutton().

param: string The task to perform (picked up by the switch($task) blocks
param: string The image to display
param: string The image to display when moused over
param: string The alt text for the icon image
param: boolean True if required to check that a standard list item is checked

preview($url = '', $updateEditors = false)   X-Ref
Writes a preview button for a given option (opens a popup window)

param: string The name of the popup file (excluding the file extension)

help($ref, $com = false)   X-Ref
Writes a preview button for a given option (opens a popup window)

param: string The name of the popup file (excluding the file extension for an xml file)
param: boolean Use the help file in the component directory

back($alt = 'Back', $href = 'javascript:history.back()   X-Ref
Writes a cancel button that will go back to the previous page without doing
any other operation


media_manager($directory = '', $alt = 'Upload')   X-Ref
Writes a media_manager button

param: string The sub-drectory to upload the media to

addNew($task = 'add', $alt = 'New')   X-Ref
Writes the common 'new' icon for the button bar

param: string An override for the task
param: string An override for the alt text

addNewX($task = 'add', $alt = 'New')   X-Ref
Writes the common 'new' icon for the button bar.
Extended version of addNew() calling hideMainMenu() before submitbutton().

param: string An override for the task
param: string An override for the alt text

publish($task = 'publish', $alt = 'Publish')   X-Ref
Writes a common 'publish' button

param: string An override for the task
param: string An override for the alt text

publishList($task = 'publish', $alt = 'Publish')   X-Ref
Writes a common 'publish' button for a list of records

param: string An override for the task
param: string An override for the alt text

makeDefault($task = 'default', $alt = 'Default')   X-Ref
Writes a common 'default' button for a record

param: string An override for the task
param: string An override for the alt text

assign($task = 'assign', $alt = 'Assign')   X-Ref
Writes a common 'assign' button for a record

param: string An override for the task
param: string An override for the alt text

unpublish($task = 'unpublish', $alt = 'Unpublish')   X-Ref
Writes a common 'unpublish' button

param: string An override for the task
param: string An override for the alt text

unpublishList($task = 'unpublish', $alt = 'Unpublish')   X-Ref
Writes a common 'unpublish' button for a list of records

param: string An override for the task
param: string An override for the alt text

archiveList($task = 'archive', $alt = 'Archive')   X-Ref
Writes a common 'archive' button for a list of records

param: string An override for the task
param: string An override for the alt text

unarchiveList($task = 'unarchive', $alt = 'Unarchive')   X-Ref
Writes an unarchive button for a list of records

param: string An override for the task
param: string An override for the alt text

editList($task = 'edit', $alt = 'Edit')   X-Ref
Writes a common 'edit' button for a list of records

param: string An override for the task
param: string An override for the alt text

editListX($task = 'edit', $alt = 'Edit')   X-Ref
Writes a common 'edit' button for a list of records.
Extended version of editList() calling hideMainMenu() before submitbutton().

param: string An override for the task
param: string An override for the alt text

editHtml($task = 'edit_source', $alt = 'Edit HTML')   X-Ref
Writes a common 'edit' button for a template html

param: string An override for the task
param: string An override for the alt text

editHtmlX($task = 'edit_source', $alt = 'Edit HTML')   X-Ref
Writes a common 'edit' button for a template html.
Extended version of editHtml() calling hideMainMenu() before submitbutton().

param: string An override for the task
param: string An override for the alt text

editCss($task = 'edit_css', $alt = 'Edit CSS')   X-Ref
Writes a common 'edit' button for a template css

param: string An override for the task
param: string An override for the alt text

editCssX($task = 'edit_css', $alt = 'Edit CSS')   X-Ref
Writes a common 'edit' button for a template css.
Extended version of editCss() calling hideMainMenu() before submitbutton().

param: string An override for the task
param: string An override for the alt text

deleteList($msg = '', $task = 'remove', $alt = 'Delete')   X-Ref
Writes a common 'delete' button for a list of records

param: string  Postscript for the 'are you sure' message
param: string An override for the task
param: string An override for the alt text

deleteListX($msg = '', $task = 'remove', $alt = 'Delete')   X-Ref
Writes a common 'delete' button for a list of records.
Extended version of deleteList() calling hideMainMenu() before submitbutton().

param: string  Postscript for the 'are you sure' message
param: string An override for the task
param: string An override for the alt text

trash($task = 'remove', $alt = 'Trash', $check = true)   X-Ref
Write a trash button that will move items to Trash Manager


apply($task = 'apply', $alt = 'Apply')   X-Ref
Writes a save button for a given option
Apply operation leads to a save action only (does not leave edit mode)

param: string An override for the task
param: string An override for the alt text

save($task = 'save', $alt = 'Save')   X-Ref
Writes a save button for a given option
Save operation leads to a save and then close action

param: string An override for the task
param: string An override for the alt text

cancel($task = 'cancel', $alt = 'Cancel')   X-Ref
Writes a cancel button and invokes a cancel operation (eg a checkin)

param: string An override for the task
param: string An override for the alt text

preferences($component, $height='150', $width='570', $alt = 'Preferences', $path = '')   X-Ref
Writes a configuration button and invokes a cancel operation (eg a checkin)

param: string    The name of the component, eg, com_content
param: int        The height of the popup
param: int        The width of the popup
param: string    The name of the button
param: string    An alternative path for the configuation xml relative to JPATH_SITE

Classe: JSubMenuHelper  - X-Ref

Utility class for the submenu

addEntry($name, $link = '', $active = false)   X-Ref
Nessuna descrizione



Generato il: Mon Oct 19 20:29:27 2009 Generato con PHPXref 0.7