verejna metoda pre pridanie chyby umoznujuca nastavit chybu objektu externe
Execute prepared response or response with data defined in $data
$data - data of reponse, will overwrite predefined responses
$prepareMulti - set true for return handle for response
$multiIndex - index of predefined respons, which should be loaded
return - $this for $prepareMulti=true or returns curl handle
get reponse in one of supported formats:
$type - format of reponse, one of BODY, HEADER, ALL, JSON, JSON_OBJECT, SERIALIZE
vrati chybu z pola chyb
$key- ak je zadany, nevracia nasledujucu, ale konkretnu chybu
return - text chyby
vrati pole chyb v tvare [$prvok] => text chyby
eturn info about request
create instance of Webservice class
$surl - service url
$sname - if set, server will be check for matchh that name
$conTimeOut - connection time out
$timeOut - time out of request
vrati, ci bola vytvorena chyba
execute multiple request predefined with setRequest
define parameters in $data, which will be part of all requests
predefine parameters in $data for request which will be executed
prida chybu do pola chyb
$rule - prvok zodpovedajuci za chybu
$name - nazov atributu, ktory bude nahradeny za prvok v $param
$param - nahradzany obsah v texte chyby za $name
ealise and wait for end of curl execution
check if data are serialized and return deserialized $data or NULL
ChameleonFramework © 2012 - 2024