Ejemplo n.º 1
0
 public function getImage($id, $relative = true)
 {
     if (is_string($id)) {
         $id = "/__website/{$id}";
     }
     return parent::getImage($id, $relative);
 }
Ejemplo n.º 2
0
 /**
  * 	method:	createAPI
  *
  * 	todo: write documentation
  */
 protected function createAPI()
 {
     //	Create the API object
     $api = $this->createObject($this->data["api"], true, true);
     //	An API Object was not created, so create a default Amslib_MVC object instead
     if ($api == false) {
         $api = new Amslib_MVC();
     }
     //	Setup the api with basic name and filesystem location
     $api->setLocation($this->getLocation());
     $api->setName($this->getName());
     $api->setPlugin($this);
     return $api;
 }
Ejemplo n.º 3
0
 public function __construct()
 {
     parent::__construct();
 }