Class we_ui_controls_ACSuggest

Description

Class to display an autoselector

Located in /ui/controls/ACSuggest.php (line 26)


	
			
Variable Summary
Method Summary
we_ui_controls_ACSuggest __construct ()
string getHTML ()
integer getInputId ()
void &getInstance ()
string getOnChange ()
unknown getYuiCss ()
String getYuiJs ()
void setAcId (integer $val, [string $rootDir = ""])
void setAddJS (unknown_type $val)
void setAutocompleteField (unknown_type $inputFieldId, unknown_type $containerFieldId, unknown_type $table, [unknown_type $contentType = ""], [ $selector = ""], [unknown_type $maxResults = 10], [unknown_type $queryDelay = 0], [unknown_type $layerId = null], [unknown_type $setOnSelectFields = null], [unknown_type $checkFieldsValue = true], [unknown_type $containerwidth = "100%"], [ $inputMayBeEmpty = 'true'])
void setContainerWidth (Int $containerWidth, Boolean $containerWidthforAll)
void setContentType (unknown_type $val)
void setDoOnItemSelect (unknown_type $val)
void setDoOnTextfieldBlur (unknown_type $val)
void setInput (String $name, [String $value = ""], [Array $attribs = ""], [Boolean $disabled = false], [ $markHot = ""])
void setInputDisabled (string $_disabled)
void setInputId ([unknown_type $val = ''])
void setInputName (unknown_type $val)
void setInputValue (unknown_type $val)
void setLabel (unknown_type $val)
void setMaxResults (unknown_type $val)
void setMayBeEmpty (unknown_type $val)
void setOnChange (string $_onChange)
void setResult ( $resultName, [unknown_type $resultValue = ""], [unknown_type $resultID = ""])
void setResultId (unknown_type $val)
void setResultName (unknown_type $val)
void setResultValue (unknown_type $val)
void setSelectButton (unknown_type $val, [integer $space = 20])
void setSelector (String $val)
void setTable (unknown_type $val)
void setTrashButton (unknown_type $val, [integer $space = 10])
void setWidth (unknown_type $var)
Variables
string $acId = "" (line 146)

acId attribute

  • access: protected
string $addJS = "" (line 314)

addJS attribute

  • access: protected
array $checkFieldsValues = array() (line 97)

inputfields attribute

  • access: protected
boolean $checkFieldValue = true (line 153)

checkFieldValue attribute

  • access: protected
array $containerfields = array() (line 41)

containerfields attribute

  • access: protected
string $containerWidth = "" (line 160)

containerWidth attribute

  • access: protected
array $containerwidth = array() (line 48)

containerwidth attribute

  • access: protected
integer $containerWidthForAll = 0 (line 167)

containerWidthForAll attribute

  • access: protected
string $contentType = "folder" (line 174)

contentType attribute

  • access: protected
array $contentTypes = array() (line 62)

contentTypes attribute

  • access: protected
array $ct = array() (line 111)

ct attribute

  • access: protected
string $doOnItemSelect = "" (line 321)

doOnItemSelect attribute

  • access: protected
string $doOnTextfieldBlur = "" (line 328)

doOnTextfieldBlur attribute

  • access: protected
integer $inputAttribs = 0 (line 181)

inputAttribs attribute

  • access: protected
iunteger $inputDisabled = 0 (line 188)

inputDisabled attribute

  • access: protected
array $inputfields = array() (line 34)

inputfields attribute

  • access: protected
string $inputId = "" (line 195)

inputId attribute

  • access: protected
array $inputMayBeEmpty = array() (line 118)

inputMayBeEmpty attribute

  • access: protected
string $inputName = "" (line 202)

inputName attribute

  • access: protected
string $inputValue = "" (line 209)

inputValue attribute

  • access: protected
string $label = "" (line 216)

label attribute

  • access: protected
array $layer = array() (line 83)

layer attribute

  • access: protected
integer $maxResults = 20 (line 223)

maxResults attribute

  • access: protected
integer $mayBeEmpty = 1 (line 230)

mayBeEmpty attribute

  • access: protected
string $preCheck = "" (line 139)

preCheck attribute

  • access: protected
array $queryDelay = array() (line 76)

queryDelay attribute

  • access: protected
string $resultId = "" (line 251)

resultId attribute

  • access: protected
string $resultName = "" (line 237)

resultName attribute

  • access: protected
string $resultValue = "" (line 244)

resultValue attribute

  • access: protected
string $rootDir = "" (line 258)

rootDir attribute

  • access: protected
string $selectButton = "" (line 265)

selectButton attribute

  • access: protected
string $selectButtonSpace = "" (line 272)

selectButtonSpace attribute

  • access: protected
string $selector = "Dir" (line 279)

selector attribute

  • access: protected
array $selectors = array() (line 104)

selectors attribute

  • access: protected
array $setOnSelectFields = array() (line 90)

setOnSelectFields attribute

  • access: protected
string $table = '' (line 300)

table attribute

  • access: protected
array $tables = array() (line 55)

tables attribute

  • access: protected
string $trashButton = "" (line 286)

trashButton attribute

  • access: protected
string $trashButtonSpace = "" (line 293)

trashButtonSpace attribute

  • access: protected
array $weMaxResults = array() (line 69)

weMaxResults attribute

  • access: protected
integer $width = 280 (line 307)

width attribute

  • access: protected
array $_doOnItemSelect = array() (line 125)

_doOnItemSelect attribute

  • access: protected
array $_doOnTextfieldBlur = array() (line 132)

_doOnTextfieldBlur attribute

  • access: protected
string $_onChange = '' (line 335)

onChange attribute

  • access: protected
Methods
Constructor __construct (line 341)

Constructor

  • access: public
we_ui_controls_ACSuggest __construct ()
getHTML (line 1217)

get HTML of autocompleter

string getHTML ()
getInputId (line 1280)

get inputId

integer getInputId ()
getInstance (line 350)

get instance of class we_ui_controls_ACSuggest

  • access: public
void &getInstance ()
getOnChange (line 363)

Retrieve onChange attribute

  • access: public
string getOnChange ()
getYuiCss (line 1062)

This function generates the individual css code for the autocomletion

unknown getYuiCss ()
getYuiJs (line 394)

This function generates the individual js code for the autocomletion

String getYuiJs ()
setAcId (line 1294)

set AcId and rootDir

void setAcId (integer $val, [string $rootDir = ""])
  • integer $val
  • string $rootDir
setAddJS (line 1305)

Additional javascript code

void setAddJS (unknown_type $val)
  • unknown_type $val
setAutocompleteField (line 1526)

This function sets the values for the autocompletion fields

void setAutocompleteField (unknown_type $inputFieldId, unknown_type $containerFieldId, unknown_type $table, [unknown_type $contentType = ""], [ $selector = ""], [unknown_type $maxResults = 10], [unknown_type $queryDelay = 0], [unknown_type $layerId = null], [unknown_type $setOnSelectFields = null], [unknown_type $checkFieldsValue = true], [unknown_type $containerwidth = "100%"], [ $inputMayBeEmpty = 'true'])
  • unknown_type $inputFieldId
  • unknown_type $containerFieldId
  • unknown_type $table
  • unknown_type $contentType
  • unknown_type $maxResults
  • unknown_type $queryDelay
  • unknown_type $layerId
  • unknown_type $setOnSelectFields
  • unknown_type $checkFieldsValue
  • unknown_type $containerwidth
  • $selector
  • $inputMayBeEmpty
setContainerWidth (line 1316)

Setts the width of the suggest container. Default is input field width

void setContainerWidth (Int $containerWidth, Boolean $containerWidthforAll)
  • Int $containerWidth
  • Boolean $containerWidthforAll
setContentType (line 1326)

Set the content tye to filter result

void setContentType (unknown_type $val)
  • unknown_type $val
setDoOnItemSelect (line 1336)

Set DoOnItemSelect

void setDoOnItemSelect (unknown_type $val)
  • unknown_type $val
setDoOnTextfieldBlur (line 1346)

Set DoOnTextfieldBlur

void setDoOnTextfieldBlur (unknown_type $val)
  • unknown_type $val
setInput (line 1201)

Set id and value for the input field

void setInput (String $name, [String $value = ""], [Array $attribs = ""], [Boolean $disabled = false], [ $markHot = ""])
  • String $name
  • String $value
  • Array $attribs
  • Boolean $disabled
  • $markHot
setInputDisabled (line 383)

set disabled attribute

void setInputDisabled (string $_disabled)
  • string $_disabled
setInputId (line 1356)

Set InputId

void setInputId ([unknown_type $val = ''])
  • unknown_type $val
setInputName (line 1370)

Set InputName

void setInputName (unknown_type $val)
  • unknown_type $val
setInputValue (line 1380)

Set InputValue

void setInputValue (unknown_type $val)
  • unknown_type $val
setLabel (line 1410)

Set Label

void setLabel (unknown_type $val)
  • unknown_type $val
setMaxResults (line 1390)

Set MaxResults

void setMaxResults (unknown_type $val)
  • unknown_type $val
setMayBeEmpty (line 1400)

Flag if the autocompleter my be empty

void setMayBeEmpty (unknown_type $val)
  • unknown_type $val
setOnChange (line 373)

Set onChange attribute

  • access: public
void setOnChange (string $_onChange)
  • string $_onChange
setResult (line 1421)

Set name, value and id for the result field

void setResult ( $resultName, [unknown_type $resultValue = ""], [unknown_type $resultID = ""])
  • unknown_type $resultID
  • unknown_type $resultValue
  • $resultName
setResultId (line 1433)

Set ResultId

void setResultId (unknown_type $val)
  • unknown_type $val
setResultName (line 1443)

Set ResultName

void setResultName (unknown_type $val)
  • unknown_type $val
setResultValue (line 1453)

Set ResultValue

void setResultValue (unknown_type $val)
  • unknown_type $val
setSelectButton (line 1464)

Set SelectButton

void setSelectButton (unknown_type $val, [integer $space = 20])
  • unknown_type $val
  • integer $space
setSelector (line 1475)

Set the selector

void setSelector (String $val)
  • String $val
setTable (line 1485)

Set the table for query result

void setTable (unknown_type $val)
  • unknown_type $val
setTrashButton (line 1496)

Set TrashButton

void setTrashButton (unknown_type $val, [integer $space = 10])
  • unknown_type $val
  • integer $space
setWidth (line 1507)

Set Width

void setWidth (unknown_type $var)
  • unknown_type $var

Documentation generated on Mon, 01 Sep 2008 11:35:32 +0200 by phpDocumentor 1.4.0