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 GeoLink

Geo - Class to create HTML a tags

GeoTag
Extended by GeoLink
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/GeoLink.php
Methods summary
public
# __construct( string $link = null, string $text = null, string $title = null, string $target = null, string $class = null, string $id = null, string $atts = null, string $style = null )

Set attributes of html a tag

Set attributes of html a tag

Parameters

$link
href path of link
$text

Text of link If text has html tags, then you need to add a (non html) text title so the the title does not have html

$title
title of link
$target
target of link
$class
class of link
$id
id of link
$atts
any other atts of link
$style

style of link

title is later in the list because its usually the same as $text

Overrides

GeoTag::__construct()
public
# setLink( string $link )

Set href of link

Set href of link

Parameters

$link
href of link
public
# setTitle( string $title )

Set title of link

Set title of link

Parameters

$title
title of link
public
# setText( string $text )

Set text of link

Set text of link

Parameters

$text
text of link

Overrides

GeoTag::setText()
public html
# tag( string $link = null, string $text = null, string $title = null )

HTML a tag

HTML a tag

Parameters

$link
href of link
$text
text of link
$title
title of link

Returns

html
a tag
Methods inherited from GeoTag
baseTag(), init(), setAtt()
Properties inherited from GeoTag
$atts, $text
API documentation generated by ApiGen