예제 #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);
     }
 }
예제 #2
0
 /**
  * Constructor
  */
 public function __construct($name = null, $children_key = 'Name')
 {
     parent::__construct($name);
     $this->setChildrenKey($children_key);
 }