예제 #1
0
 /**
  * The Enlight_Plugin_Namespace class constructor expects the name of the namespace and sets it
  * into the internal property.
  *
  * @param   string $name
  */
 public function __construct($name)
 {
     $this->name = $name;
     parent::__construct();
 }
예제 #2
0
 /**
  * The Enlight_Plugin_PluginManager class constructor expects an instance of the Enlight_Application, which
  * is set in the internal property.
  *
  * @param Enlight_Application $application
  */
 public function __construct(Enlight_Application $application)
 {
     $this->setApplication($application);
     parent::__construct();
 }