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

Class: ABSTHTMLTag

Source Location: /html/ABSTHTMLTag.class.php

Class Overview

ABSTObject
   |
   --ABSTHTMLTag

An abstract class to create HTML-Tags.


Author(s):

Version:

  • 0.1.82

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


Child classes:

HTMLForm
A class to generate forms.
HTMLLabel
Creating HTML-Label-Tags
ABSTHTMLFormItem
An abstract class as base for classes to create form items.
ABSTDimensionObject
HTMLDocument
Creating HTML-Documents
HTMLLayer
A class to generate "<div>"-Layer.
HTMLLink
Creating HTML-Tags
HTMLList
Create HTML-Lists

Inherited Methods

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 41]
An abstract class to create HTML-Tags.



Tags:

author:  Daniel Plücken <daniel@debakel.net>
version:  0.1.82
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

abstract:  
license:  GNU Lesser General Public License


[ Top ]


Class Variables

$blur =

[line 87]



Tags:

access:  public

Type:   string


[ Top ]

$click =

[line 97]



Tags:

access:  public

Type:   string


[ Top ]

$focus =

[line 82]



Tags:

access:  public

Type:   string


[ Top ]

$freestyle =

[line 77]

Can filled with styledefinitions that were not handled by an implemented method.



Tags:

access:  public

Type:   string


[ Top ]

$id =

[line 55]

The value of the "id"-attribute of this item.



Tags:

access:  private

Type:   string


[ Top ]

$mousemove =

[line 112]



Tags:

access:  public

Type:   string


[ Top ]

$mouseout =

[line 107]



Tags:

access:  public

Type:   string


[ Top ]

$mouseover =

[line 102]



Tags:

access:  public

Type:   string


[ Top ]

$mouseup =

[line 92]



Tags:

access:  public

Type:   string


[ Top ]

$name =

[line 48]

The value of the "name"-attribute of this item.



Tags:

access:  public

Type:   string


[ Top ]

$no_format =  false

[line 119]

Stores whether the HTML-elements should format by "\r\n" in the source.



Tags:

access:  public

Type:   boolean


[ Top ]

$other_attributes =

[line 69]

Can filled with attributes who where not a standard for this item-tag.



Tags:

access:  public

Type:   string


[ Top ]

$style_class =

[line 62]

The value of the "class"-attribute of this item.



Tags:

access:  public

Type:   string


[ Top ]



Class Methods


method getId [line 160]

string getId( )

Returns the value of this tag's "id"-attribute.



Tags:

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


[ Top ]

method getName [line 146]

string getName( )

Returns the value of this tag's "name"-attribute.



Tags:

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


Overridden in child classes as:

HTMLForm::getName()
Returns the name of this form.
ColorInput::getName()
Returns the value of textfield tag's "name"-attribute.
DateSelect::getName()
Returns the name suffix of this select group.
ResetSubmitButton::getName()
Blind method cause other objects will invoke it.
SubmitCancelButton::getName()
Blind method cause other objects will invoke it.

[ Top ]

method HTMLTag [line 132]

void HTMLTag( )

The Constructor let the script die, cause this is an abstract class!



Tags:

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


[ Top ]

method idExists [line 178]

boolean idExists( string $str_id, [boolean $bool_store = false])

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.



Tags:

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


Parameters:

string   $str_id  
boolean   $bool_store  

[ Top ]

method setAttributes [line 288]

void setAttributes( string $string)

This method allows to set the attributes of the tag that are not handled by other methods.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setFreeStyle [line 272]

void setFreeStyle( string $string)

Set the value of style definitions that are not handled by implemented methods.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setId [line 241]

void setId( string $string)

Stores the value of this item's "id"-attribute.



Tags:

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


Overridden in child classes as:

NewsTicker::setId()
Stores the value of this item's "id"-attribute with the suffix "tickerlayout_".

Parameters:

string   $string  

[ Top ]

method setName [line 226]

void setName( string $string)

Stores the value of this tag's "name"-attribute.



Tags:

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


Overridden in child classes as:

HTMLForm::setName()
Sets the name of this form.
ColorInput::setName()
Returns the value of textfield tag's "name"-attribute.
NewsTicker::setName()
Stores the value of this tag's "name"-attribute with the suffix "tickerlayout_".

Parameters:

string   $string  

[ Top ]

method setNoFormat [line 408]

void setNoFormat( [boolean $bool = true])

Stores that the HTML-elements should not format by "\r\n" in the source.



Tags:

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


Overridden in child classes as:

HTMLForm::setNoFormat()
Stores that the HTML-elements should not format by "\r\n" in the source.
HTMLDocument::setNoFormat()
Sets the behaviour of body's formatting. If noformat is set to true then the body will not be formatted by the plaintextformatter. Look at package CLASSPATH."core" at the class PlainTextFormatter for further information.

Parameters:

boolean   $bool  

[ Top ]

method setOnBlur [line 318]

void setOnBlur( string $string)

Sets the value of the blur-attribute of this html-tag.



Tags:

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


Overridden in child classes as:

EMailTextInput::setOnBlur()
Stores the value of this item's "onBlur"-attribute.
URLTextInput::setOnBlur()
Stores the value of this item's "onBlur"-attribute.
HTMLDocument::setOnBlur()
Sets the body's onblur-attribute of this document.

Parameters:

string   $string  

[ Top ]

method setOnClick [line 333]

void setOnClick( string $string)

Sets the value of the click-attribute of this html-tag.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setOnFocus [line 303]

void setOnFocus( string $string)

Sets the value of the focus-attribute of this html-tag.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setOnMouseMove [line 393]

void setOnMouseMove( string $string)

Sets the value of the mousemove-attribute of this html-tag.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setOnMouseOut [line 378]

void setOnMouseOut( string $string)

Sets the value of the mouseout-attribute of this html-tag.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setOnMouseOver [line 363]

void setOnMouseOver( string $string)

Sets the value of the mouseover-attribute of this html-tag.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setOnMouseUp [line 348]

void setOnMouseUp( string $string)

Sets the value of the mouseup-attribute of this html-tag.



Tags:

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


Parameters:

string   $string  

[ Top ]

method setStyle [line 256]

void setStyle( string $string)

Set the value of the class-attribute of this tag.



Tags:

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


Parameters:

string   $string  

[ Top ]


Documentation generated on Thu, 05 Jun 2008 19:09:51 +0200 by phpDocumentor 1.4.1