[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/includes/ -> mamboHTML.php (summary)

(no description)

Author: Mambo Foundation Inc see README.php
Copyright: (C) 2000 - 2009 Mambo Foundation Inc.
License: GNU/GPL Version 2, see LICENSE.php
File Size: 736 lines (22 kb)
Included or required:0 times
Referenced: 2 times
Includes or requires: 0 files

Defines 3 classes

mosHTML:: (16 methods):
  makeOption()
  writableCell()
  selectList()
  integerSelectList()
  monthSelectList()
  yesnoSelectList()
  radioList()
  yesnoRadioList()
  idBox()
  sortIcon()
  CloseButton()
  BackButton()
  cleanText()
  PrintIcon()
  emailCloaking()
  encoding_converter()

mosCommonHTML:: (11 methods):
  ContentLegend()
  menuLinksContent()
  go2()
  menuLinksSecCat()
  go2()
  checkedOut()
  loadOverlib()
  loadCalendar()
  AccessProcessing()
  CheckedOutProcessing()
  PublishedProcessing()

mosTabs:: (5 methods):
  mosTabs()
  startPane()
  endPane()
  startTab()
  endTab()


Class: mosHTML  - X-Ref

Utility class for all HTML drawing classes

makeOption( $value, $text='' )   X-Ref
No description

writableCell( $folder )   X-Ref
No description

selectList( &$arr, $tag_name, $tag_attribs, $key, $text, $selected=NULL )   X-Ref
Generates an HTML select list

returns: string HTML for the select list
param: array An array of objects
param: string The value of the HTML name attribute
param: string Additional HTML attributes for the <select> tag
param: string The name of the object variable for the option value
param: string The name of the object variable for the option text
param: mixed The key that is selected

integerSelectList( $start, $end, $inc, $tag_name, $tag_attribs, $selected, $format="" )   X-Ref
Writes a select list of integers

returns: string HTML for the select list
param: int The start integer
param: int The end integer
param: int The increment
param: string The value of the HTML name attribute
param: string Additional HTML attributes for the <select> tag
param: mixed The key that is selected
param: string The printf format to be applied to the number

monthSelectList( $tag_name, $tag_attribs, $selected )   X-Ref
Writes a select list of month names based on Language settings

returns: string HTML for the select list values
param: string The value of the HTML name attribute
param: string Additional HTML attributes for the <select> tag
param: mixed The key that is selected

yesnoSelectList( $tag_name, $tag_attribs, $selected, $yes=false, $no=false )   X-Ref
Writes a yes/no select list

returns: string HTML for the select list values
param: string The value of the HTML name attribute
param: string Additional HTML attributes for the <select> tag
param: mixed The key that is selected

radioList( &$arr, $tag_name, $tag_attribs, $selected=null, $key='value', $text='text' )   X-Ref
Generates an HTML radio list

returns: string HTML for the select list
param: array An array of objects
param: string The value of the HTML name attribute
param: string Additional HTML attributes for the <select> tag
param: mixed The key that is selected
param: string The name of the object variable for the option value
param: string The name of the object variable for the option text

yesnoRadioList( $tag_name, $tag_attribs, $selected, $yes=false, $no=false )   X-Ref
Writes a yes/no radio list

returns: string HTML for the radio list
param: string The value of the HTML name attribute
param: string Additional HTML attributes for the <select> tag
param: mixed The key that is selected

idBox( $rowNum, $recId, $checkedOut=false, $name='cid' )   X-Ref

param: int The row index
param: int The record id
param: boolean
param: string The name of the form element
return: string

sortIcon( $base_href, $field, $state='none' )   X-Ref
No description

CloseButton( &$params, $hide_js=NULL )   X-Ref
Writes Close Button


BackButton( &$params, $hide_js=NULL )   X-Ref
Writes Back Button


cleanText( &$text )   X-Ref
Cleans text of all formating and scripting code


PrintIcon( &$row, &$params, $hide_js, $link, $status=NULL )   X-Ref
Writes Print icon


emailCloaking( $mail, $mailto=1, $text='', $email=1 )   X-Ref
simple Javascript Cloaking
email cloacking
by default replaces an email with a mailto link with email cloacked


encoding_converter( $text )   X-Ref
No description

Class: mosCommonHTML  - X-Ref

ContentLegend( )   X-Ref
No description

menuLinksContent( &$menus )   X-Ref
No description

go2( pressbutton, menu, id )   X-Ref
No description

menuLinksSecCat( &$menus )   X-Ref
No description

go2( pressbutton, menu, id )   X-Ref
No description

checkedOut( &$row, $overlib=1 )   X-Ref
No description

loadOverlib()   X-Ref
No description

loadCalendar()   X-Ref
No description

AccessProcessing( &$row, $i )   X-Ref
No description

CheckedOutProcessing( &$row, $i )   X-Ref
No description

PublishedProcessing( &$row, $i )   X-Ref
No description

Class: mosTabs  - X-Ref

Tab Creation handler

mosTabs($useCookies)   X-Ref
Constructor
Includes files needed for displaying tabs and sets cookie options

param: int useCookies, if set to 1 cookie will hold last used tab between page refreshes

startPane($id)   X-Ref
creates a tab pane and creates JS obj

param: string The Tab Pane Name

endPane()   X-Ref
Ends Tab Pane


startTab( $tabText, $paneid )   X-Ref
No description

endTab()   X-Ref
No description