TITAN Library for PHP5  5.1.0
Web Software Development Kit for PHP5
links Class Reference

Titan Links Management Class. More...

Public Member Functions

 add ($link)
 
 get ($state, $location= 'header', &$obj=false)
 
 handler ($action, $type)
 

Data Fields

 $handlers = array()
 Array of link handlers.
 

Detailed Description

Titan Links Management Class.

Class: \tl\format\html\links

Author
James E. Bush work@.nosp@m.bush.nosp@m..cc
Version
5.1.0

Member Function Documentation

add (   $link)

Add a link.

Parameters
link$linkA link object to add
get (   $state,
  $location = 'header',
$obj = false 
)

Get links for the current state and location.

Parameters
string$stateThe current state
string$locationThe link location
object$objObject to reference for ids
Returns
string HTML string of rendered links
handler (   $action,
  $type 
)

Get the handler for the current action

Parameters
string$actionThe action to handle
string$typeThe action type to handle
Returns
mixed (string) Handler name, or (bool) false if none exists

The documentation for this class was generated from the following file: