public function __construct($api) { parent::__construct($api); // Set newHello request methods $this->addAllowedMethod("newHello", Api_Request::METHOD_PUT); $this->addAllowedMethod("newHello", Api_Request::METHOD_GET); }
/** * Construct * * @author Wim Mostmans * * @param Api $api */ public function __construct($api) { parent::__construct($api); // Set request methods $this->addAllowedMethod("execute", Api_Request::METHOD_POST); $this->addAllowedMethod("with", Api_Request::METHOD_GET); $this->addAllowedMethod("arrayLanguages", Api_Request::METHOD_GET); $this->addAllowedMethod("objectLanguages", Api_Request::METHOD_GET); }