|
|
|
File: C:/usr/local/lib/php/blueshoes-4.2/core/html/form/Bs_FormFieldBtn.class.php
BlueShoes Application Framework - Form
Bs_FormFieldBtn
Bs_Object | +-- Bs_FormElement | +-- Bs_FormField | +-- Bs_FormFieldBtn
BTN Form Field Class.
|
public class Bs_FormFieldBtn extends Bs_FormField
BTN Form Field Class.
this class gets subclassed fromBs_FormFieldSubmitBs_FormFieldResetBs_FormFieldButtonbecause they are all so similar. in fact the only difference between submitand reset is the type in <input type=$type> (and the way they behave on aclick). button is different a bit, see the class file for details.example tag:<input name="buttonName" type="submit" value="click here">what's special about this tag?- value => that's the caption.note: the netscape only params 'width' and 'height' are not implemented here,i recommend using styles.dependencies: Bs_FormField
| Authors | andrej arn <andrej@arn.li> |
| Version | 4.0.$id$ |
| Copyright | blueshoes.org |
|
| |
|
Direct known subclasses: Bs_FormFieldButton, Bs_FormFieldReset, Bs_FormFieldSubmit
|
|
Methods inherited from Bs_FormField |
| bs_formfield, &getelement, getfield, addenforcecheckbox, isexplodable, getadvancedstyle, getadvancedstylehelper, setexplode, getlabel, 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_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()Return some html code to display the button on a website in a form. |
| void |
Bs_FormFieldBtn()Warning: documentation is missing. |
|
Private Method Summary |
| void |
inputManipulate()overwrites parent method. we don't need this here...Warning: documentation is missing. |
| void |
inputValidate()overwrites parent method. we don't need this here...Warning: documentation is missing. |
|
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 Method Details |
&getField |
|
public string &getField( )
|
| |
Return some html code to display the button on a website in a form.
overwrites parent method.
|
| Returns |
string some html code |
|
Bs_FormFieldBtn |
|
public void Bs_FormFieldBtn( )
|
| |
Warning: documentation is missing.
|
| Returns |
void |
|
|
Private Method Details |
inputManipulate |
|
private void inputManipulate( )
|
| |
overwrites parent method. we don't need this here...
Warning: documentation is missing.
|
| Returns |
void |
|
inputValidate |
|
private void inputValidate( )
|
| |
overwrites parent method. we don't need this here...
Warning: documentation is missing.
|
| Returns |
void |
|
|
Private Constant Details |
BS_FORMFIELDBTN_VERSION
define( BS_FORMFIELDBTN_VERSION, >>4.0.$x$<< )
Case: default: case sensitive
|
|
|
|
|
|
| PHPDoc 1.0beta |