示例#1
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct($attributes = array(), $cdata = null)
 {
     parent::__construct($attributes, $cdata);
     $this->addAttributeDefinitions(array('precision' => array('required' => false, 'type' => 'int', 'since' => '1.0'), 'rounding' => array('required' => false, 'type' => 'enum', 'values' => array('none', 'up', 'down', 'nearest'), 'since' => '1.0'), 'decimalSeparatorFrom' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'decimalSeparatorTo' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'thousandsSeparatorFrom' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'thousandsSeparatorTo' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'useThousandsSeparator' => array('required' => false, 'type' => 'boolean', 'since' => '1.0'), 'useNegativeSign' => array('required' => false, 'type' => 'boolean', 'since' => '1.0')));
 }
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct($attributes = array(), $cdata = null)
 {
     parent::__construct($attributes, $cdata);
     $this->addAttributeDefinitions(array('formatString' => array('required' => false, 'type' => 'string', 'since' => '1.0')));
 }
示例#3
0
 /**
  * Constructor
  *
  * @access public
  */
 public function __construct($attributes = array(), $cdata = null)
 {
     parent::__construct($attributes, $cdata);
     $this->addAttributeDefinitions(array('formatString' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'validPatternChars' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'numberSymbol' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'areaCodeFormat' => array('required' => false, 'type' => 'string', 'since' => '1.0'), 'areaCode' => array('required' => false, 'type' => 'string', 'since' => '1.0')));
 }