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/specialfields/Bs_FormFieldSpreadsheet.class.php
BlueShoes Application Framework - Form

Bs_FormFieldSpreadsheet

Bs_Object
   |
  +-- Bs_FormElement
     |
    +-- Bs_FormField
       |
      +-- Bs_FormFieldSpreadsheet

SPREADSHEET Form Field Class.

 

public class Bs_FormFieldSpreadsheet extends Bs_FormField

SPREADSHEET Form Field Class.
todo:- allow multiple instances per page- allow default value- use readonly modes etc- support width/height- enable/disable wysiwyg mode- enable/disable button groups- include form field and attach onchange event so it can actually be used- more things need to be done in the spreadsheet, and then influence this class.dependencies: Bs_HtmlUtil,javascript spreadsheet and everything it needs including domapi (for the toolbar),

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

 

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([ mixed $explodeKey, string $addEnforceCheckbox ])

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

Bs_FormFieldSpreadsheet()

Warning: documentation is missing.

Private Method Summary

void

bs_ss_callbackOnSave()

Warning: documentation is missing.
void

bs_ss_edit()

Warning: documentation is missing.
void

bs_ss_callback()

Warning: documentation is missing.
void

bs_ss_init()

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

Private Field Summary

unknown

$Bs_HtmlUtil

Private Constant Summary

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

Public Method Details

&getField

public string &getField( [ mixed $explodeKey, string $addEnforceCheckbox ] )

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

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

some html code


Bs_FormFieldSpreadsheet

public void Bs_FormFieldSpreadsheet( )

 

Warning: documentation is missing.

Returns void


Private Method Details

bs_ss_callbackOnSave

private void bs_ss_callbackOnSave( )

 

Warning: documentation is missing.

Returns void


bs_ss_edit

private void bs_ss_edit( )

 

Warning: documentation is missing.

Returns void


bs_ss_callback

private void bs_ss_callback( )

 

Warning: documentation is missing.

Returns void


bs_ss_init

private void bs_ss_init( )

 

Warning: documentation is missing.

Returns void


Private Field Details

$Bs_HtmlUtil

private unknown $Bs_HtmlUtil

>><<



Private Constant Details

BS_FORMFIELDSPREADSHEET_VERSION

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




Packageindex Classtrees Modulegroups Elementlist Report XML Files
PHPDoc 1.0beta