Formatting output Plese Wait...

HTML helper.

This file is part of Zigmoyd PHP Framework. More...

Data Structures

class  HtmlTag
 Parent class of all Html Tag Classes. More...
class  font
 The Class for font Tag. More...
class  span
 The Class for span Tag. More...
class  label
 The Class for label Tag. More...
class  form
 HTML Form Helper This Class Can generete verious HTML Tags related To form like TextBox, CheckBox, selectBox etc. More...
class  bold
 Represents the Bold tag. More...
class  italics
 Represents the Italics tag. More...
class  underline
 Represents the underline tag. More...

Functions

 merge_attr ($attr)
 Merges the attributes array into a String.
 auto_list ($list, $tag="ul")
 Generates a List <ol/ul> with Tags from an array.
 auto_ol ($list, $attr=null)
 Generate's an Ordered List with.
 auto_ul ($list, $attr=null)
 Generate's an unOrdered List with.
 spc ($num=0)
 Generates Non Breaking Spaces of specified ammount.
 brk ($num=0)
 Generates Line Breaks of specified ammount.
 image ($src, $name=null, $attr=null)
 Generates Image Tags You can also Specify additional attributes for the Tag throught an associatiove array as the 2nd and Optional Argument.

Detailed Description

This file is part of Zigmoyd PHP Framework.

Copyright (C) 2008 Neel Basu (Sunanda Bose)

Zigmoyd PHP Framework is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Zigmoyd PHP Framework is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Zigmoyd PHP Framework. If not, see <http://www.gnu.org/licenses/>.

Classes and functions that expands to HTML tags and attributes. e.g. if you want to print <span name="hi" class="error">Error Message</span> you can use

Show Source
  <?= span::open('hi', 'error') ?>Error Message<?= span::close() ?>
all HTML tag classes extends from HtmlTag Class. all pair tags have an open() and an close() operation that can be used to open and close those pair tags.

Function Documentation

auto_list( array $list, string $tag = "ul" )

auto_ol( array $list, array $attr = null )

auto_ul( array $list, array $attr = null )

brk( int $num = 0 ) 

image( int $src, string $name = null, array $attr = null )

merge_attr( array $attr ) 

spc( int $num = 0 ) 


Generated on Mon Oct 27 23:52:55 2008 for zigmoyd.kdevelop by doxygen 1.5.6
CompoundsX
Build Compounds List