html
[ class tree: html ] [ index: html ] [ all elements ]

Class: HTMLLink

Source Location: /html/HTMLLink.class.php

Class Overview

ABSTObject
   |
   --ABSTHTMLTag
      |
      --HTMLLink

Creating HTML-Tags


Author(s):

Version:

  • 0.2.01

Copyright:

  • Copyright (c) 2004 Daniel Plücken <daniel@debakel.net>

    This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License.

    This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Variables

Methods


Inherited Variables

Inherited Methods

Class: ABSTHTMLTag

ABSTHTMLTag::getId()
Returns the value of this tag's "id"-attribute.
ABSTHTMLTag::getName()
Returns the value of this tag's "name"-attribute.
ABSTHTMLTag::HTMLTag()
The Constructor let the script die, cause this is an abstract class!
ABSTHTMLTag::idExists()
Stores all used ids and makes sure that every id in the document is unique. It should called in every get method of classes in the packages forms and html.
ABSTHTMLTag::setAttributes()
This method allows to set the attributes of the tag that are not handled by other methods.
ABSTHTMLTag::setFreeStyle()
Set the value of style definitions that are not handled by implemented methods.
ABSTHTMLTag::setId()
Stores the value of this item's "id"-attribute.
ABSTHTMLTag::setName()
Stores the value of this tag's "name"-attribute.
ABSTHTMLTag::setNoFormat()
Stores that the HTML-elements should not format by "\r\n" in the source.
ABSTHTMLTag::setOnBlur()
Sets the value of the blur-attribute of this html-tag.
ABSTHTMLTag::setOnClick()
Sets the value of the click-attribute of this html-tag.
ABSTHTMLTag::setOnFocus()
Sets the value of the focus-attribute of this html-tag.
ABSTHTMLTag::setOnMouseMove()
Sets the value of the mousemove-attribute of this html-tag.
ABSTHTMLTag::setOnMouseOut()
Sets the value of the mouseout-attribute of this html-tag.
ABSTHTMLTag::setOnMouseOver()
Sets the value of the mouseover-attribute of this html-tag.
ABSTHTMLTag::setOnMouseUp()
Sets the value of the mouseup-attribute of this html-tag.
ABSTHTMLTag::setStyle()
Set the value of the class-attribute of this tag.

Class: ABSTObject

ABSTObject::printComplexData()
Prints out the more complex data by the given array.
ABSTObject::printPrimitiveData()
Prints out the primitive data by the given arrays.
ABSTObject::printStructure()
Prints out the Structure of this Object.
ABSTObject::same()
Checks whether the passed object reference points to this object.
ABSTObject::sameReferences()
Compares two references whether they points to the same object

Class Details

[line 54]
Creating HTML-Tags



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  0.2.01
copyright:  

Copyright (c) 2004 Daniel Plücken <daniel@debakel.net>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

final:  
license:  GNU Lesser General Public License


[ Top ]


Class Variables

$href =

[line 60]



Tags:

access:  public

Type:   string


[ Top ]

$label =

[line 65]



Tags:

access:  public

Type:   string


[ Top ]

$str_parameter_add_on_mouseover =

[line 75]



Tags:

access:  public

Type:   string


[ Top ]

$target =

[line 70]



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


static method getJavaScriptToAddParameterToHREF [line 209]

static void getJavaScriptToAddParameterToHREF( [string $withJSdeclaration = false])

Adds a javascript that adds parameter to the hyper reference of this anker. This is useful for search engine optimated sites. For example you can add a session-id or parameter that should hide from search-spiders.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.9
access:  public


Parameters:

string   $withJSdeclaration  

[ Top ]

static method manageStaticMouseUp [line 160]

static string manageStaticMouseUp( [string $str_mouse_up = ""])

Sets the mouseup that should add to all anker, that is defined in a script. It will concatenate befor the instance specified mouseup.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.8
access:  public


Parameters:

string   $str_mouse_up   The static value of "onMouseup"-Attribute.

[ Top ]

static method manageStaticParameterAdd [line 184]

static string manageStaticParameterAdd( [ $str_parameter_add = ""], string $str_mouse_up)

Sets the parameter that should be add on each link by a javascript on mouseover. This is useful to carry a session-id through all scripts.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.2.0
access:  public


Parameters:

string   $str_mouse_up   The static value of "onMouseup"-Attribute.
   $str_parameter_add  

[ Top ]

constructor HTMLLink [line 93]

void HTMLLink( string $href, string $label, [string $style_class = ""], [string $target = ""])

Constructor.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.2
since:  0.1.0
access:  public


Parameters:

string   $href   The value of the href-attribute of this anker.
string   $label   The label of this anker.
string   $style_class  
string   $target  

[ Top ]

method addParameterOnMouseOver [line 254]

void addParameterOnMouseOver( string $str_parameter)

Adds a javascript that adds parameter to the hyper reference of this anker. This is useful for search engine optimated sites. For example you can add a session-id or parameter that should hide from search-spiders.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.9
access:  public


Parameters:

string   $str_parameter  

[ Top ]

method get [line 268]

string get( )

Returns a generated string based on the attributes of this HTML-Object.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.62
since:  0.1.0
access:  public


[ Top ]

method setHREF [line 113]

void setHREF( string $string)

Sets the value of the href-attribute of this link.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.0
access:  public


Parameters:

string   $string   The value of the href-attribute of this anker.

[ Top ]

method setLabel [line 128]

void setLabel( string $string)

Sets the label of this link.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.0
access:  public


Parameters:

string   $string   The value of the label of this anker.

[ Top ]

method setTarget [line 143]

void setTarget( string $string)

Sets the target of this link.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  1.0
since:  0.1.6
access:  public


Parameters:

string   $string   The value of the label of this anker.

[ Top ]


Documentation generated on Thu, 05 Jun 2008 19:12:39 +0200 by phpDocumentor 1.4.1