Link class
This class provides the most basic object : - it has a name - and an encoding
category | Core |
---|---|
package | Formaid |
author | Dieter Adriaenssens |
copyright | 2006-2013 Dieter Adriaenssens |
license | GPL |
link | http://formaid.sourceforge.net/ |
__construct(string $linkName, string $caption, string $url, array $urlParameters, bool $displayLink, bool $displayCaption) : void
Sets encoding to be used, and set name of the object
string
name of link object
string
text to be displayed
string
url to link to
array
Array with UrlParameters (objects or name-value)
bool
create link or not (optional, default = true)
bool
show caption or nothing (optional, default = true)
disableTrimName() : void
inherited_from | \Formaid_Object::disableTrimName() |
---|
display() : void
The name of the object is printed to stdout.
inherited_from | \Formaid_Object::display() |
---|
enableTrimName() : void
inherited_from | \Formaid_Object::enableTrimName() |
---|
getCaption() : string
string
CaptiongetDisplayString() : string
string
LinkgetName() : string
inherited_from | \Formaid_Object::getName() |
---|
string
object namegetUrl() : string
string
Url pathisNameEmpty() : bool
inherited_from | \Formaid_Object::isNameEmpty() |
---|
bool
true if emptysetCaption(string $caption) : void
string
Link caption
setName(string $new_name) : void
inherited_from | \Formaid_Object::setName() |
---|
string
new name
setUrl(\Formaid_Url $url, array $urlParameters) : void
array
Array with UrlParameters (objects or name-value)
show() : void
The name of the object is printed to stdout.
inherited_from | \Formaid_Object::show() |
---|
getDisplayName() : string
inherited_from | \Formaid_Object::getDisplayName() |
---|
string
formatted object name$properties : object
access | public |
---|
$encoding : string
access | protected |
---|---|
inherited_from | \Formaid_Object::$$encoding |
$name : string
access | protected |
---|---|
inherited_from | \Formaid_Object::$$name |
$_trimName : bool
access | private |
---|---|
inherited_from | \Formaid_Object::$$_trimName |
$_url : object
access | private |
---|