Ejemplo n.º 1
0
 protected function action($settings = array(), $defaults = array())
 {
     if ($this->backend->info->is_available_meta($this->modulename)) {
         $this->action = parent::action($settings, $defaults);
     } else {
         throw new ApibotException_InternalError("API module " . $this->modulename . " is unknown at this wiki");
     }
 }
Ejemplo n.º 2
0
 function __construct($backend, $settings = array(), $defaults = array())
 {
     $this->prop = $this->querykey();
     parent::__construct($backend, $settings, $defaults);
 }