Overview

Packages

  • Geolib

Classes

  • Geo
  • GeoBody
  • GeoCell
  • GeoDebug
  • GeoHead
  • GeoHtml
  • GeoImg
  • GeoLink
  • GeoList
  • GeoSelect
  • GeoTable
  • GeoTag

Functions

  • b
  • div
  • geoAbsLink
  • geoAnchor
  • geoBody
  • geoButton
  • geoCell
  • geoCheckbox
  • geoDb
  • geoEnd
  • geoFieldSet
  • geoForm
  • geoHead
  • geoHidden
  • geoHtml
  • geoif
  • geoIList
  • geoImg
  • geoImgSubmit
  • geoInput
  • geoIsMultiArr
  • geoItem
  • geoJSLink
  • geoLabel
  • geoLegend
  • geolib_autoloader
  • geoLink
  • geoList
  • geoMultiArr
  • geoNoScript
  • geoPassword
  • geoPre
  • geoRadio
  • geoRadios
  • geoScript
  • geoSelect
  • geoStart
  • geoSubmit
  • geoTable
  • geoTabs
  • geoTag
  • geoText
  • geoTextArea
  • geoTrace
  • geoUpload
  • geovar
  • h1
  • h2
  • h3
  • h4
  • i
  • idiv
  • ispan
  • itag
  • p
  • span
  • Overview
  • Package
  • Class

Class GeoTag

Geo - Class to create html list (ul or ol) tags

Direct known subclasses

GeoBody, GeoCell, GeoHead, GeoHtml, GeoImg, GeoLink, GeoList, GeoSelect, GeoTable
Package: Geolib
Category: Html_Tag
License: Lesser General Public Licence see LICENCE file or http://www.gnu.org/licenses/lgpl.html
Author: Peter Pitchford peter@geotonics.com
Version: Release: .1
Since: Class available since Release .1
Link: http://geotonics.com/#geolib
Located at classes/GeoTag.php
Methods summary
public
# __construct( string $tag, array||string $text = null, string $class = null, string $id = null, string $style = null, string $atts = null )

Constructor

Constructor

Parameters

$tag
HTML tag
$text
Content of tag(s). Use an array to create multiple instances of the same tag
$class
Class
$id
Id
$style
Style
$atts
Any other attribute
public
# setAtt( string $att, string $value = null )

Set tag attribute

Set tag attribute

Parameters

$att
Name of attribute
$value
Value of attribute
public
# setText( string $text )

Set tag content

Set tag content

Parameters

$text
conteht value
protected
# init( string $tag, string $text = null, string $class = null, string $id = null, string $style = null, string|array $atts = null )

Initialize tag content and attributes Set number of rows to span Also determines whether tag is inline, meaning it has no content or separate end tag.

Initialize tag content and attributes Set number of rows to span Also determines whether tag is inline, meaning it has no content or separate end tag.

Parameters

$tag
HTML tag
$text
Tag content
$class
Class attribute
$id
Id attribute
$style
Style attribute
$atts
Any other attributes
public
# baseTag( boolean $start = null, boolean $end = null )

Creates tag for output

Creates tag for output

Parameters

$start
Indicates that this tag is only the first part of an inline tag, plus the content.
$end

Indicates that this tag is only an end tag. Start and end indicators can be used when tags are out put directly to web page without being stored in buffer.

Properties summary
public $text
#
protected $atts
#
API documentation generated by ApiGen