CMC for PHP
  • Namespace
  • Class
  • Tree

Namespaces

  • cmc
    • core
      • ui
    • db
      • mysqli
    • error
    • ui
      • widgets
  • PHP

Classes

  • area
  • areafactory
  • button
  • buttonfactory
  • checkbox
  • checkboxfactory
  • compositelist
  • compositelistfactory
  • input
  • inputfactory
  • label
  • labelfactory
  • link
  • linkfactory
  • menu
  • menufactory
  • select
  • selectfactory
  • tab
  • tabfactory
  • textarea
  • textareafactory
  • widget
  • widgetfactory

CMC for PHP is a web framework for PHP.
Copyright (c) 2014 by Calmarsoft company http://calmarsoft.com (FRANCE). All rights reserved.
Project information available here.

Class select

component for 'list' kind objects, with single selection

cmc\ui\widgets\widget implements cmc\core\IClonable, cmc\core\ISerializable
Extended by cmc\ui\widgets\compositelist
Extended by cmc\ui\widgets\select
Namespace: cmc\ui\widgets
Copyright: Copyright (c) Calmarsoft company (FRANCE) (http://calmarsoft.com)
License: GNU General Public License version 3
Version: 0.9
Link: CMC Project
Located at ui/widgets/select.php

Methods summary

public
# __construct( mixed $frame, mixed $xpath = '' )

Overrides

cmc\ui\widgets\compositelist::__construct
public
# setListData( mixed $data )
public
# viewInitialUpdate( cmc\ui\view $view, cmc\ui\frame $frame )

default widget's implementation of the static part of update

default widget's implementation of the static part of update

this is preparing the line model (extracted from the first entry in the list)

Parameters

$view
cmc\ui\view
$view
$frame
cmc\ui\frame
$frame

Overrides

cmc\ui\widgets\compositelist::viewInitialUpdate
protected
# OncompositeRowDOM( array $data, DOMElement $domItem )

puts the 'select' attribute on the correct row

puts the 'select' attribute on the correct row

Parameters

$data
array
$data the data row
$domItem
DOMElement
$domItem the DOM row

Overrides

cmc\ui\widgets\compositelist::OncompositeRowDOM
protected mixed
# applyPropertyDOM( cmc\ui\view $view, string $propname, mixed $propval )

applies a property to the DOM

applies a property to the DOM

Parameters

$view
cmc\ui\view
$propname
string
$propname
$propval
mixed
$propval

Returns

mixed

Overrides

cmc\ui\widgets\compositelist::applyPropertyDOM
public
# OnSerialize( )

keeps list data

keeps list data

Overrides

cmc\ui\widgets\compositelist::OnSerialize
public
# OnUnSerialize( )

Overrides

cmc\ui\widgets\compositelist::OnUnSerialize

Methods inherited from cmc\ui\widgets\compositelist

applyCompositeDOM(), dump_lineElems(), getAjaxCompositeVal(), getAjaxPropVal(), getCompData(), getPostCompData(), onClone(), onPOSTDone(), setCompData(), setCompositeMap(), setDataQuery(), setDataStateAjax(), syncProperty(), viewPreUpdate(), viewUpdate()

Methods inherited from cmc\ui\widgets\widget

AddEventListener(), AddWidgetEventListener(), DOMGetAttr(), DOMGetNodeAttr(), DOMGetText(), DOMPutNodeAttr(), DOMRemoveAttr(), DOMSetHtml(), DOMSetText(), DOMUpdateAttr(), OnUnserialize(), OnWidgetEvent(), POSTupdatedata(), addEventLocal(), addEventPost(), addScriptCode(), addValidation(), bClearDynamic(), bDynamic(), bOption(), bSetDynamic(), disable(), enable(), getAjaxData(), getCaption(), getEnabled(), getFrame(), getName(), getProperty(), getScriptCode(), getValue(), getVisible(), hide(), modelPropertyDOM(), setCaption(), setConstants(), setEnabled(), setFrame(), setHTML(), setJSObject(), setJSObjectParms(), setName(), setOptions(), setProperty(), setPropertyDatasource(), setPropertyQuery(), setValue(), setVisible(), show(), unsetOptions(), viewAttach()

Methods inherited from cmc\core\IClonable

OnClone()

Magic methods summary

Constants summary

Constants inherited from cmc\ui\widgets\compositelist

factory, matchVar, prop_Data

Constants inherited from cmc\ui\widgets\widget

OPT_INPUT_LEAVE_AUTOCOMPLETE, jqueryFocus, jqueryHighlight, jqueryHover

Properties summary

Properties inherited from cmc\ui\widgets\compositelist

$_composite_map, $_composite_mapkeys

Properties inherited from cmc\ui\widgets\widget

$_actualscript, $_bDynamic, $_composcript, $_constants, $_currwview, $_dftTagId, $_domid, $_jsObj, $_jsObjParms, $_matDynamic, $_name, $_options, $_preupdate, $_properties, $_wviews

CMC for PHP API documentation generated by ApiGen 2.8.0