Exemple #1
0
 /**
  * Class constructor, set the extension type.
  *
  * @param string $namespace The element of the extension
  * @param string $type      The type of extension
  * @param string $folder    The folder for plugins (only)
  */
 public function __construct($namespace, $type, $folder = '', $basePath = JPATH_SITE)
 {
     parent::__construct($namespace, $type, $folder, $basePath);
     $this->license = @strtolower($this->manifest->alledia->license);
     // Make sure we are using the correct namespace
     $this->namespace = @$this->manifest->alledia->namespace;
     $this->getLibraryPath();
     $this->getProLibraryPath();
 }