/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('source' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'destination' => array('required' => false, 'type' => 'string', 'since' => '1.0'))); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('color' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'creationComplete' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'creationCompleteEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'dragComplete' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'dragDrop' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'dragEnter' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'dragExit' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'dragOver' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'draw' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'effectEnd' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'effectStart' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'fontFamily' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'fontSize' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'fontStyle' => array('required' => false, 'type' => 'enum', 'values' => array('normal', 'italic'), 'since' => '1.0'), 'fontWeight' => array('required' => false, 'type' => 'enum', 'values' => array('normal', 'bold'), 'since' => '1.0'), 'height' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'heightFlex' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'hideEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'id' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'initialize' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'load' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'marginLeft' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'marginRight' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'maxHeight' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'maxWidth' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'minHeight' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'minWidth' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'mouseChangeSomewhere' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseDown' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseDownEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseDownSomewhere' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseMove' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseMoveSomewhere' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseOut' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseOutEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseOver' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseOverEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseUp' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseUpEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'mouseUpSomewhere' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'move' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'moveEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'nestLevel' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'preferredWidth' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'preferredHeight' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'resize' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'resizeEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'scaleX' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'scaleY' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'showEffect' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'styleName' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'tabEnabled' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'textAlign' => array('required' => false, 'type' => 'enum', 'values' => array('left', 'right', 'center'), 'since' => '1.0'), 'textDecoration' => array('required' => false, 'type' => 'enum', 'values' => array('none', 'underline'), 'since' => '1.0'), 'textIndent' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'toolTip' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'unload' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'visible' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'width' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'widthFlex' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'x' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'y' => array('required' => false, 'type' => 'int', 'since' => '1.0'))); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('concurrency' => array('required' => false, 'type' => 'enum', 'values' => array('multiple', 'single', 'last'), 'since' => '1.0'), 'fault' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'name' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'result' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'resultFormat' => array('required' => false, 'type' => 'enum', 'values' => array('object', 'xml'), 'since' => '1.0'))); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('format' => array('required' => false, 'type' => 'enum', 'values' => array('object', 'xml'), 'since' => '1.0'))); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('field' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'listener' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'validate' => array('required' => false, 'type' => 'string', 'since' => '1.0'))); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('concurrency' => array('required' => false, 'type' => 'enum', 'values' => array('multiple', 'single', 'last'), 'since' => '1.0'), 'fault' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'id' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'load' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'port' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'protocol' => array('required' => false, 'type' => 'enum', 'values' => array('http', 'https'), 'since' => '1.0'), 'result' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'service' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'serviceName' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'showBusyCursor' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'wsdl' => array('required' => false, 'type' => 'string', 'since' => '1.0'))); }
/** * Serialize the element. * * @access public * @return string string representation of the element and all of its childNodes */ public function serialize() { if (!isset($this->attributes['source'])) { $def = ''; foreach ($this->_css_rules as $identificator => $properties) { if (is_array($properties) && count($properties) > 0) { $def .= "{$identificator}\n{\n"; foreach ($properties as $name => $value) { $def .= " {$name}: {$value};\n"; } $def .= "}\n"; } } $this->setCData($def); } return parent::serialize(); }
/** * Create any MXML element. * * @param string $name * @param array $attributes * @param string $cdata * @return object XML_MXML_Element * @access public * @throws Exception */ public function createElement($name, $attributes = array(), $cdata = null, $replaceEntities = true) { $name = strtolower($name); if (isset($this->_element_aliases[$name])) { $alias = $this->_element_aliases[$name]; $slashpos = strrpos($alias, '/'); $path = 'XML/MXML/' . substr($alias, 0, $slashpos + 1); $classname = substr($alias, $slashpos + 1); $classfile = substr($classname, strrpos($classname, '_') + 1); $file = $path . $classfile . '.php'; if (@(include_once $file)) { $el = new $classname($attributes, $cdata); } else { throw new Exception('Element not found.', XML_MXML_Document::ERROR_ELEMENT_NOT_FOUND); } } else { $el = new XML_MXML_Element($attributes, $cdata); $el->elementName = $name; $el->knownElement = false; } $el->setDocument($this); $el->replaceEntities = $replaceEntities; if ($this->_autoValidate) { try { $result = $el->validate($this->_validateCaseInsensitive, $this->_validateVersion); } catch (Exception $e) { // rethrow throw $e; } } return $el; }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('id' => array('required' => true, 'type' => 'string', 'since' => '1.0'), 'enabled' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'groupName' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'labelPlacement' => array('required' => false, 'type' => 'enum', 'values' => array('right', 'left', 'bottom', 'top'), 'since' => '1.0'), 'selection' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'selectedData' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'click' => array('required' => false, 'type' => 'string', 'since' => '1.0'))); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('concurrency' => array('required' => false, 'type' => 'enum', 'values' => array('multiple', 'single', 'last'), 'since' => '1.0'), 'contentType' => array('required' => false, 'type' => 'enum', 'values' => array('application/x-www-form-urlencoded', 'application/xml'), 'since' => '1.0'), 'fault' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'id' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'method' => array('required' => false, 'type' => 'enum', 'values' => array('GET', 'POST'), 'since' => '1.0'), 'protocol' => array('required' => false, 'type' => 'enum', 'values' => array('http', 'https'), 'since' => '1.0'), 'result' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'resultFormat' => array('required' => false, 'type' => 'enum', 'values' => array('object', 'xml', 'flashvars', 'text'), 'since' => '1.0'), 'serviceName' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'showBusyCursor' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'url' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'xmlEncode' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'xmlDecode' => array('required' => false, 'type' => 'string', 'since' => '1.0'))); }
/** * Constructor * * @access public */ public function __construct($attributes = array(), $cdata = null) { parent::__construct($attributes, $cdata); $this->addAttributeDefinitions(array('count' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'dataProvider' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'recycleChildren' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'startingIndex' => array('required' => false, 'type' => 'int', 'since' => '1.0'))); }