BlueShoes Application Framework made with PHP http://www.blueshoes.org/


Packageindex Classtrees Modulegroups Elementlist Report XML Files

File: C:/usr/local/lib/php/blueshoes-4.2/core/html/form/domapi/Bs_DaFormFieldListBox.class.php
BlueShoes Application Framework - Form/DomApi

Bs_DaFormFieldComboBox

Bs_Object
   |
  +-- Bs_FormElement
     |
    +-- Bs_FormField
       |
      +-- Bs_FormFieldSelect
         |
        +-- Bs_DaFormFieldComboBox

DomApi ListBox Form Field Class

 

public class Bs_DaFormFieldComboBox extends Bs_FormFieldSelect

DomApi ListBox Form Field Class
the advantages of this element compared to the standard html select field:- easier multi-select (without hitting the control- or shift key- sorting- drag-n-drop- looks niceruses javascript/dhtml/domapi. see http://www.domapi.com, it's great.http://www.domapi.com/docs/index.cfm?obj_id=22"A standard listbox component with a whole slew of features that affectit's look-and-feel. Supports mutiple selection, sorting, drag-n-dropand more."dependencies: Bs_FormFieldSelect, domapi js stuff,

Authorsandrej arn <andrej@arn.li>
Version4.0.$id$
Copyrightblueshoes.org

 

Methods inherited from Bs_FormFieldSelect

bs_formfieldselect, _getoptionsstring, _prepareoptionsdata, getoptionstringforvalue, _getdefaultvalue, inputmanipulate, inputvalidate, validateminlength, validatemaxlength, _prepareoptions

Methods inherited from Bs_FormField

bs_formfield, &getelement, getfield, addenforcecheckbox, isexplodable, getadvancedstyle, getadvancedstylehelper, setexplode, getlabel, inputmanipulate, inputvalidate, validatemust, validateonlyoneof, validateonlyif, validateminlength, validatemaxlength, validatemuststartwith, validatenotstartwith, validatemustendwith, validatenotendwith, validatemustcontain, validatenotcontain, validateequalto, validatenotequalto, validatedatatype, validateregularexpression, validateadditionalcheck, validatemustbeunique, getvisibility, getonenterbehavior, getonentercode, applyonenterbehavior, shouldpersist, getdbdatatype, getdbfieldname, _getmaxlength, _gettagstringevents, getvalue, _gettagstringvalue, _gettagstringstyles, _gettagstringadditionaltags, getcaption, getcaptionforformoutput, geterror, gethelp, _highlightaccesskey, _getaccesskey, getfieldashidden, _getfieldnameforhtml, hasjavascript, ismust, _anyifcase, _markasused, _getbsdatainfonumber, isfilledin, _evalwrap, unpersisttrigger, geterrormessage, &serialize, unserialize, &encrypt, &decrypt, initfrompost

Methods inherited from Bs_FormElement

bs_formelement, hasformobject, setformobject, getcaption, getelement, getlevel, _doelementstringformat, _getparamvalue, getlanguagedependentvalue

Methods inherited from Bs_Object

isex, isexception, tostring, tohtml, persist, unpersist, bs_object, bbsetoutput, bbawake, bbisawake, bbxmsg, bbxfunctionstart, bbxfunctionend, bbxecho, bbxvar, bbxvardump, bbforcetrace, bbbufferstart, bbbufferget, bbbufferendflush, bbbufferendclean

Public Method Summary

string

&getField([ string $addEnforceCheckbox ])

Return some html code to display the field on a website in a form.Warning: documentation is missing.

Private Method Summary

void

Bs_DaFormFieldDatePicker()

constructor

Fields inherited from Bs_FormFieldSelect

$size, $multiple, $optionstype, $_options, $optionshard, $optionseval, $minlength, $maxlength

Fields inherited from Bs_FormField

$_bs_string, $_bs_array, $_bs_htmlutil, $_bs_date, $fieldtype, $caption, $defaulterrormessage, $errormessage, $errortype, $level, $editability, $accessrights, $visibility, $isused, $valuedefault, $valuedefaulttype, $valuereceived, $valuedisplay, $valueinternal, $savetodb, $dbfieldname, $dbdatatype, $dbnotnull, $dbprimarykey, $dbkey, $dbindexfulltext, $dbautoincrement, $dbunique, $dbforeignkey, $dbattributes, $explodeeval, $_explodearray, $direction, $styles, $advancedstyles, $events, $onenter, $additionaltags, $bsdatatype, $bsdatainfo, $bsdatamanipulation, $bsdatamanipvar, $enforce, $_must, $must, $mustif, $mustoneof, $mustoneofif, $onlyoneof, $onlyif, $onlyoneofif, $minlength, $maxlength, $muststartwith, $notstartwith, $mustendwith, $notendwith, $mustcontain, $notcontain, $equalto, $notequalto, $mustbeunique, $regularexpression, $additionalcheck, $trim, $remove, $removei, $replace, $replacei, $case, $codepostreceive, $codepostload, $this, $charsrule

Fields inherited from Bs_FormElement

$persister, $persisterid, $_form, $name, $elementtype, $formid, $container, $orderid, $elementstringformat, $persistervarsettings, $this

Public Field Summary

string

$domApiDoRollover

adds a mouseover effect to the elements.
string

$domApiEnabled

i recommend that you do not use this var. it may not be fully implemented.
string

$domApiShowLines

displays lines between the elements. looks nice.
string

$domApiDoDepress

adds a onMouseDown effect to the element you clock on. nice.
string

$domApiAllowEdit

if one should be able to type into the select field.
string

$domApiAlign

where the dropdown list should be displayed (aligned).
string

$domApiAutoClose

if the dropdown list should automatically close when one selects an option. useful.

Private Constant Summary

BS_DAFORMFIELDLISTBOX_VERSION >>4.0.$x$<< Warning: documentation is missing.

Public Method Details

&getField

public string &getField( [ string $addEnforceCheckbox ] )

  Return some html code to display the field on a website in a form.
overwrites parent method.

Warning: documentation is missing.

Parameter
string $addEnforceCheckbox = >>TRUE<<
default is TRUE. adds the enforce checkbox automatically, if needed. see (parent::)addEnforceCheckbox().
Returns string

some html code


Private Method Details

Bs_DaFormFieldDatePicker

private void Bs_DaFormFieldDatePicker( )

  constructor

Returns void


Public Field Details

$domApiDoRollover

public string $domApiDoRollover

>>TRUE<<

adds a mouseover effect to the elements.
this is a domapi specific setting.


$domApiEnabled

public string $domApiEnabled

>>TRUE<<

i recommend that you do not use this var. it may not be fully implemented.
i don't see a use for it.this is a domapi specific setting.


$domApiShowLines

public string $domApiShowLines

>>TRUE<<

displays lines between the elements. looks nice.
this is a domapi specific setting.


$domApiDoDepress

public string $domApiDoDepress

>>TRUE<<

adds a onMouseDown effect to the element you clock on. nice.
this is a domapi specific setting.


$domApiAllowEdit

public string $domApiAllowEdit

>>TRUE<<

if one should be able to type into the select field.
this is a domapi specific setting.


$domApiAlign

public string $domApiAlign

>>'down'<<

where the dropdown list should be displayed (aligned).
one of: left, right, up, down (default).i personally only see uses for up and down.this is a domapi specific setting.


$domApiAutoClose

public string $domApiAutoClose

>>TRUE<<

if the dropdown list should automatically close when one selects an option. useful.
this is a domapi specific setting.


Private Constant Details

BS_DAFORMFIELDLISTBOX_VERSION

define( BS_DAFORMFIELDLISTBOX_VERSION, >>4.0.$x$<< )
Case: default: case sensitive




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta