blueshoes php application framework and cms            core_html
[ class tree: core_html ] [ index: core_html ] [ all elements ]

Class: Bs_FormLine

Source Location: /core/html/form/Bs_FormLine.class.php

Class Overview

Bs_Object
   |
   --Bs_FormElement
      |
      --Bs_FormLine

Form Line Class


Author(s):

Version:

  • 4.3.$Revision: 1.4 $ $Date: 2003/10/29 17:48:39 $

Copyright:

  • blueshoes.org

Variables

Methods


Inherited Variables

Inherited Methods

Class: Bs_FormElement

Bs_FormElement::Bs_FormElement()
Constructor.
Bs_FormElement::getCaption()
Return the caption string (for the current language).
Bs_FormElement::getCaptionForFormOutput()
returns the caption. here in Bs_FormElement it's the same getCaption() but in Bs_FormField which overwrites these methods it makes a difference.
Bs_FormElement::getElement()
Return some html code to display the element on a website in a form.
Bs_FormElement::getElementLayout()
returns the layout string for this element.
Bs_FormElement::getLanguageDependentValue()
returns the value of a [language dependant] [object] var for the current or given language.
Bs_FormElement::getLevel()
returns the level this element belongs to.
Bs_FormElement::getVisibility()
returns how this field/element should be visible and editable to the user.
Bs_FormElement::hasFormObject()
tells if we have a reference to a form object where we can grab some information.
Bs_FormElement::setFormObject()
set a reference to a form object.

Class: Bs_Object

Bs_Object::Bs_Object()
Bs_Object::getErrors()
Basic error handling: Get *all* errors as string array from the global Bs_Error-error stack.
Bs_Object::getLastError()
Basic error handling: Get last error string from the global Bs_Error-error stack.
Bs_Object::getLastErrors()
Basic error handling: Get last errors string array from the global Bs_Error-error stack sinc last call of getLastErrors().
Bs_Object::persist()
Persists this object by serializing it and saving it to a file with unique name.
Bs_Object::setError()
Basic error handling: Push an error string on the global Bs_Error-error stack.
Bs_Object::toHtml()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::toString()
Dumps the content of this object to a string using PHP's var_dump().
Bs_Object::unpersist()
Fetches an object that was persisted with persist()

Class Details

[line 24]
Form Line Class

such a tag may look like:

  • <hr>
  • <hr align="left" width="150" size="10" color="black" noshade>
dependencies: Bs_FormElement




Tags:

copyright:  blueshoes.org
pattern:  singleton: (pseudostatic)
access:  public
version:  4.3.$Revision: 1.4 $ $Date: 2003/10/29 17:48:39 $
author:  andrej arn <at blueshoes dot org>


[ Top ]


Class Variables

$align =

[line 35]

one of: left, center, right.

the default behavior from browsers is 'center' if nothing is sent.




Tags:

access:  public

Type:   string


[ Top ]

$color =

[line 56]

looks like this is only for ie.



Tags:

access:  public

Type:   string


[ Top ]

$noshade =

[line 63]

default is false which means don't send it.



Tags:

access:  public

Type:   bool


[ Top ]

$size =

[line 49]

this is the height. bad name.



Tags:

access:  public

Type:   int


[ Top ]

$width =

[line 42]

we don't allow something like '100%' here.



Tags:

access:  public

Type:   int


[ Top ]



Class Methods


constructor Bs_FormLine [line 69]

Bs_FormLine Bs_FormLine( )

Constructor.



[ Top ]

method getElement [line 90]

string &getElement( )

Return some html code to display the element on a website in a form.



Tags:

return:  some html code
access:  public


Overrides Bs_FormElement::getElement() (Return some html code to display the element on a website in a form.)

[ Top ]


Documentation generated on Mon, 29 Dec 2003 21:10:37 +0100 by phpDocumentor 1.2.3