Exemplo n.º 1
0
 /**
  * @param string $name
  */
 public function __construct($name)
 {
     $this->name = $name;
     list($this->ns, $this->short) = ToolKit::splitNames($name);
 }
Exemplo n.º 2
0
 /**
  * @param string $class
  */
 public function __construct($class)
 {
     $this->name = $class;
     list($this->ns, $this->short) = ToolKit::splitNames($class);
     $this->cname = str_replace('\\', '_', $class);
     $this->escaped = addslashes($class);
     //        $this->extension  = $ref->getExtension();
 }
Exemplo n.º 3
0
 /**
  * @param string $name
  */
 public function __construct($name)
 {
     $this->name = $name;
     list($this->ns, $short_class, $this->short) = ToolKit::splitNames($name);
     $this->class_name = $this->ns . '\\' . $short_class;
 }
Exemplo n.º 4
0
 /**
  * @param string $name
  */
 public function __construct($name)
 {
     list($this->ns, $base, $item) = ToolKit::splitNames($name);
     $this->short = $item ?: $base;
     $this->name = $name;
 }