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 checkbox

checkbox component

cmc\ui\widgets\widget implements cmc\core\IClonable, cmc\core\ISerializable
Extended by cmc\ui\widgets\input
Extended by cmc\ui\widgets\checkbox
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/checkbox.php

Methods summary

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

Overrides

cmc\ui\widgets\input::__construct
public
# viewInitialUpdate( cmc\ui\view $view, cmc\ui\frame $frame )

initial update part (event trigered before cloning the view to the session)

initial update part (event trigered before cloning the view to the session)

Parameters

$view
baseview
$view
$frame

Overrides

cmc\ui\widgets\input::viewInitialUpdate
protected boolean
# applyPropertyDOM( baseview $view, string $propname, mixed $propval )

Changes the DOM using the given property

Changes the DOM using the given property

Parameters

$view
baseview
$view view being updated
$propname
string
$propname property name
$propval
mixed
$propval property new value

Returns

boolean
true if success

Overrides

cmc\ui\widgets\input::applyPropertyDOM
protected mixed
# modelPropertyDOM( string $propname )

Retreives the original property value (from model)

Retreives the original property value (from model)

Parameters

$propname
string
$propname property name

Returns

mixed
property value or false

Overrides

cmc\ui\widgets\widget::modelPropertyDOM

Methods inherited from cmc\ui\widgets\widget

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

Methods inherited from cmc\core\IClonable

OnClone()

Magic methods summary

Constants summary

Constants inherited from cmc\ui\widgets\input

factory

Constants inherited from cmc\ui\widgets\widget

OPT_INPUT_LEAVE_AUTOCOMPLETE, jqueryFocus, jqueryHighlight, jqueryHover

Properties summary

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