Writes the common 'new' icon for the button bar
void
addNew
([string $task = 'new'], [string $alt = _CMN_NEW])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a common 'archive' button for a list of records
void
archiveList
([string $task = 'archive'], [string $alt = _CMN_ARCHIVE])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a cancel button that will go back to the previous page without doing
any other operation
void
back
()
Writes a cancel button and invokes a cancel operation (eg a checkin)
void
cancel
([string $task = 'cancel'], [string $alt = _CMN_CANCEL])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a custom option and task button for the button bar
void
custom
([string $task = ''], [string $icon = ''], [string $iconOver = ''], [string $alt = ''], [boolean $listSelect = true])
-
string
$task: The task to perform (picked up by the switch($task) blocks
-
string
$icon: The image to display
-
string
$iconOver: The image to display when moused over
-
string
$alt: The alt text for the icon image
-
boolean
$listSelect: True if required to check that a standard list item is checked
Writes a common 'delete' button for a list of records
void
deleteList
([string $msg = ''], [string $task = 'remove'], [string $alt = _CMN_DELETE])
-
string
$msg: Postscript for the 'are you sure' message
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Write a divider between menu buttons
void
divider
()
Writes a common 'edit' button for a template css
void
editCss
([string $task = 'edit_css'], [string $alt = _CMN_EDIT_CSS])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a common 'edit' button for a template html
void
editHtml
([string $task = 'edit_source'], [string $alt = _CMN_EDIT_HTML])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a common 'edit' button for a list of records
void
editList
([string $task = 'edit'], [string $alt = _E_EDIT])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes the end of the menu bar table
void
endTable
()
Writes a media_manager button
void
media_manager
([string $directory = ''])
-
string
$directory: The sub-drectory to upload the media to
Writes a preview button for a given option (opens a popup window)
void
preview
([string $popup = ''])
-
string
$popup: The name of the popup file (excluding the file extension)
Writes a common 'publish' button
void
publish
([string $task = 'publish'], [string $alt = _CMN_PUBLISHED])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a common 'publish' button for a list of records
void
publishList
([string $task = 'publish'], [string $alt = _CMN_PUBLISHED])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a save button for a given option
void
save
([string $task = 'save'], [string $alt = _CMN_SAVE])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a save button for a given option (NOTE this is being deprecated)
void
saveedit
()
Writes a save button for a given option (NOTE this is being deprecated)
void
savenew
()
Writes a spacer cell
void
spacer
([string $width = ''])
-
string
$width: The width for the cell
Writes the start of the button bar table
void
startTable
()
Writes an unarchive button for a list of records
void
unarchiveList
([string $task = 'unarchive'], [string $alt = _CMN_UNARCHIVE])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a common 'unpublish' button
void
unpublish
([string $task = 'unpublish'], [string $alt = _CMN_UNPUBLISHED])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text
Writes a common 'unpublish' button for a list of records
void
unpublishList
([string $task = 'unpublish'], [string $alt = _CMN_UNPUBLISHED])
-
string
$task: An override for the task
-
string
$alt: An override for the alt text