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 GeoList

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

GeoTag
Extended by GeoList
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/GeoList.php
Methods summary
public
# __construct( array||string $items = null, string $class = null, string $id = null, integer $cols = 1, string $style = null, string $listType = 'ul' )

Construcor

Construcor

Parameters

$items

List item(s) To have ids for each list item, either: Easiest way: make item keys non integer, such as "item_3" Otherwise:feed id array to ->tag()

$class
Class Attribute
$id
Id Attribute
$cols

Number of columns. Break $items into this many equal (or nearly equal) parts. Each part becomes an HTML list.

$style
Style attribute
$listType
Type of list (ol or ul)

Overrides

GeoTag::__construct()
public
# addLinks( )

Sets flag to indicate that each item in the list will be a link with the key as text

Sets flag to indicate that each item in the list will be a link with the key as text

public
# tag( string|array $classes = null, string|array $ids = null, string|array $styles = null )

Create HTML list tag

Create HTML list tag

Parameters

$classes
Class attribute(s)
$ids
Id attribute(s)
$styles
Style attribute(s)
Methods inherited from GeoTag
baseTag(), init(), setAtt(), setText()
Properties inherited from GeoTag
$atts, $text
API documentation generated by ApiGen