[ Index ]
 

Code source de Joomla 1.0.13

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/includes/ -> HTML_toolbar.php (sommaire)

(pas de description)

Copyright: Copyright (C) 2005 Open Source Matters. All rights reserved.
License: http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
Version: $Id: HTML_toolbar.php 4677 2006-08-23 16:55:24Z stingrey $
Poids: 404 lignes (13 kb)
Inclus ou requis: 1 fois
Référencé: 2 fois
Nécessite: 0 fichiers

Définit 1 class

mosToolBar:: (24 méthodes):
  startTable()
  custom()
  addNew()
  publish()
  publishList()
  unpublish()
  unpublishList()
  archiveList()
  unarchiveList()
  editList()
  editHtml()
  editCss()
  deleteList()
  preview()
  save()
  apply()
  savenew()
  saveedit()
  cancel()
  back()
  divider()
  media_manager()
  spacer()
  endTable()


Classe: mosToolBar  - X-Ref

Utility class for the button bar

startTable()   X-Ref
Writes the start of the button bar table


custom( $task='', $icon=NULL, $iconOver='', $alt='', $listSelect=true )   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

addNew( $task='new', $alt=_CMN_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

publish( $task='publish', $alt=_CMN_PUBLISHED )   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=_CMN_PUBLISHED )   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

unpublish( $task='unpublish', $alt=_CMN_UNPUBLISHED )   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=_CMN_UNPUBLISHED )   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=_CMN_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=_CMN_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=_E_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

editHtml( $task='edit_source', $alt=_CMN_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

editCss( $task='edit_css', $alt=_CMN_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

deleteList( $msg='', $task='remove', $alt=_CMN_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

preview( $popup='' )   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)

save( $task='save', $alt=_CMN_SAVE )   X-Ref
Writes a save button for a given option

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

apply( $task='apply', $alt=_CMN_APPLY )   X-Ref
Writes a save button for a given option

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

savenew()   X-Ref
Writes a save button for a given option (NOTE this is being deprecated)


saveedit()   X-Ref
Writes a save button for a given option (NOTE this is being deprecated)


cancel( $task='cancel', $alt=_CMN_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

back()   X-Ref
Writes a cancel button that will go back to the previous page without doing
any other operation


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


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

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

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

param: string The width for the cell

endTable()   X-Ref
Writes the end of the menu bar table




Généré le : Wed Nov 21 14:43:32 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics