classname: htmlobject




 Htmlobjects

@package htmlobjects
@author Alexander Kuballa [akuballa@users.sourceforge.net]
@copyright Copyright (c) 2008 - 2012, Alexander Kuballa
@license BSD License (see LICENSE.TXT)
@version 1.0

filename: htmlobject.class.php

Attributes

top
attribute: lang
access: public
default:
array(
	'table' => array(
		'button_refresh' => 'refresh',
		'label_sort'     => 'sort by',
		'label_order'    => 'sort order',
		'label_offset'   => 'offset',
		'label_limit'    => 'limit',
		'option_nolimit' => 'none',
		'option_asc'     => 'ASC',
		'option_desc'    => 'DESC',
		'select_label'   => 'Select:',
		'select_all'     => 'all',
		'select_none'    => 'none',
		'select_invert'  => 'inverted',
		'no_data'        => 'no data'
	),
	'form' => array(
		'error_required' => '%s must not be empty',
		'error_maxlength' => '%s exeeds maxlength of %d',
		'error_minlength' => '%s undercuts minlength of %d',
		'required'       => '*'
	),
	'response' => array(
		'submit' => 'submit',
		'cancel' => 'cancel',
		'reset'  => 'reset'
	)
)

Translation

@access public
@var array
top
attribute: thisfile
access: public
default:
null

base href

@access public
@var string
top
attribute: thisurl
access: public
default:
null

base url

@access public
@var string
top
attribute: thisdir
access: public
default:
null

base dir

@access public
@var string


Methods

top
function: __construct
params:
$path

 Constructor
 
 @param string $path path to htmlobject directory
 @access public
top
function: a

 A Object
 
 @access public
 @return htmlobject_a
top
function: base

 Base Object
 
 @access public
 @return htmlobject_base
top
function: box

 Box Object
 
 @access public
 @return htmlobject_box
top
function: button

 Button Object
 
 @access public
 @return htmlobject_button
top
function: debug

 Enable Debugger
 
 @access public
top
function: div

 Div Object
 
 @access public
 @return htmlobject_div
top
function: form

 Form Object
 
 @access public
 @return htmlobject_form
top
function: formbuilder

 Formbuilder Object
 
 @access public
 @return htmlobject_formbuilder
top
function: head

 Head Object
 
 @access public
 @return htmlobject_head
top
function: help
params:
$obj

 Print object information
 
 @access public
 @param object $object
top
function: iframe

 Iframe Object
 
 @access public
 @return htmlobject_img
top
function: img

 Image Object
 
 @access public
 @return htmlobject_img
top
function: input

 Input Object
 
 @access public
 @return htmlobject_input
top
function: label

 Label Object
 
 @access public
 @return htmlobject_label
top
function: option

 Option Object
 
 @access public
 @return htmlobject_option
top
function: response
params:
$id = 'response'

 Response Object
 
 @access public
 @param string $id prefix response cancel/submit
 @return htmlobject_response
top
function: request

 Request Object
 
 @access public
 @return htmlobject_request
top
function: select

 Select Object
 
 @access public
 @return htmlobject_select
top
function: table

 Table Object
 
 @access public
 @return htmlobject_table
top
function: tablebuilder
params:
$id
$params = null

 Tablebuilder Object
 
 @access public
 @param string $id prefix for posted vars
 @param array $params array(key => value, ...);
 @return htmlobject_tablebuilder
top
function: tabmenu
params:
$id

 Tabmenu Object
 
 @access public
 @param string $id prefix for posted vars
 @return htmlobject_tabmenu
top
function: template
params:
$template

 Template Object
 
 @access public
 @param string $template path to templatefile
 @return htmlobject_template
top
function: textarea

 Textarea Object
 
 @access public
 @return htmlobject_textarea
top
function: td

 Td Object
 
 @access public
 @return htmlobject_td
top
function: tr

 Tr Object
 
 @access public
 @return htmlobject_tr
top
function: __factory
params:
$name
$arg1 = null
$arg2 = null
$arg3 = null
$arg4 = null
$arg5 = null
$arg6 = null

 Build objects
 
 @param string $name
 @param multi $arg1
 @param multi $arg2
 @param multi $arg3
 @param multi $arg4
 @param multi $arg5
 @param multi $arg6
 @access protected
 @return object