예제 #1
0
 /**
  * only include a class
  * @param string $selector the jelix selector correponding to the class
  */
 public static function inc($selector)
 {
     $sel = new Selector\ClassSelector($selector);
     require_once $sel->getPath();
 }
예제 #2
0
 /**
  * __constructor
  * @param Selector\ClassSelector|Selector\InterfaceSelector $selector the selector of the class
  * @return void
  */
 public function __construct($selector)
 {
     require_once $selector->getPath();
     $this->fromSelector = $selector;
 }