[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/plugins/system/legacy/ -> toolbar.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: toolbar.php 21062 2011-04-03 22:03:07Z dextercowley $
File Size: 321 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

mosToolBar:: (22 methods):
  startTable()
  custom()
  addNew()
  publish()
  publishList()
  unpublish()
  unpublishList()
  archiveList()
  unarchiveList()
  editList()
  editHtml()
  editCss()
  deleteList()
  save()
  apply()
  cancel()
  preview()
  back()
  divider()
  media_manager()
  spacer()
  endTable()


Class: mosToolBar  - X-Ref

Legacy class

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='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='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='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='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='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='Archived' )   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

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

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

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

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

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

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)

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




Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1