Ejemplo n.º 1
0
 /**
  * Constructor
  * @param string name of the corresponding class
  * @param string $type type consts 
  * @param false|epClassMap $class_map
  */
 public function __construct($name, $type = self::DT_CHAR, $class_map = false)
 {
     parent::__construct($name);
     $this->setType($type);
     if ($class_map) {
         $this->setClassMap($class_map);
     }
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  */
 public function __construct($name = null, $children_key = 'Name')
 {
     parent::__construct($name);
     $this->setChildrenKey($children_key);
 }