From 9a358d15f80e552669e40bb27ccf8f000eeaf3a0 Mon Sep 17 00:00:00 2001 From: leonardolara Date: Sun, 8 Dec 2024 18:20:45 -0300 Subject: [PATCH] initial translations in reference/yaf --- reference/yaf/yaf-request-abstract.xml | 227 ++++++++++++++++++++++++ reference/yaf/yaf-request-simple.xml | 194 ++++++++++++++++++++ reference/yaf/yaf-response-abstract.xml | 119 +++++++++++++ reference/yaf/yaf-response-cli.xml | 106 +++++++++++ reference/yaf/yaf-response-http.xml | 120 +++++++++++++ reference/yaf/yaf-route-interface.xml | 68 +++++++ reference/yaf/yaf-route-regex.xml | 134 ++++++++++++++ reference/yaf/yaf-route-rewrite.xml | 124 +++++++++++++ reference/yaf/yaf-route-supervar.xml | 94 ++++++++++ reference/yaf/yaf-session.xml | 123 +++++++++++++ reference/yaf/yaf-view-simple.xml | 106 +++++++++++ 11 files changed, 1415 insertions(+) create mode 100644 reference/yaf/yaf-request-abstract.xml create mode 100644 reference/yaf/yaf-request-simple.xml create mode 100644 reference/yaf/yaf-response-abstract.xml create mode 100644 reference/yaf/yaf-response-cli.xml create mode 100644 reference/yaf/yaf-response-http.xml create mode 100644 reference/yaf/yaf-route-interface.xml create mode 100644 reference/yaf/yaf-route-regex.xml create mode 100644 reference/yaf/yaf-route-rewrite.xml create mode 100644 reference/yaf/yaf-route-supervar.xml create mode 100644 reference/yaf/yaf-session.xml create mode 100644 reference/yaf/yaf-view-simple.xml diff --git a/reference/yaf/yaf-request-abstract.xml b/reference/yaf/yaf-request-abstract.xml new file mode 100644 index 000000000..790897ee9 --- /dev/null +++ b/reference/yaf/yaf-request-abstract.xml @@ -0,0 +1,227 @@ + + + + + + A classe Yaf_Request_Abstract + Yaf_Request_Abstract + + + + +
+ &reftitle.intro; + + + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Request_Abstract + + + + + Yaf_Request_Abstract + + + + &Constants; + + const + string + Yaf_Request_Abstract::SCHEME_HTTP + http + + + const + string + Yaf_Request_Abstract::SCHEME_HTTPS + https + + + &Properties; + + public + module + + + public + controller + + + public + action + + + public + method + + + protected + params + + + protected + language + + + protected + _exception + + + protected + _base_uri + + + protected + uri + + + protected + dispatched + + + protected + routed + + + + &Methods; + + + + +
+ + + +
+ &reftitle.properties; + + + module + + + + + + controller + + + + + + action + + + + + + method + + + + + + params + + + + + + language + + + + + + _exception + + + + + + _base_uri + + + + + + uri + + + + + + dispatched + + + + + + routed + + + + + +
+ + + + +
+ &reftitle.constants; + + + + Yaf_Request_Abstract::SCHEME_HTTP + + + + + + + Yaf_Request_Abstract::SCHEME_HTTPS + + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-request-abstract; + +
+ + diff --git a/reference/yaf/yaf-request-simple.xml b/reference/yaf/yaf-request-simple.xml new file mode 100644 index 000000000..a81d3b5fa --- /dev/null +++ b/reference/yaf/yaf-request-simple.xml @@ -0,0 +1,194 @@ + + + + + + A classe Yaf_Request_Simple + Yaf_Request_Simple + + + + +
+ &reftitle.intro; + + Yaf_Request_Simple é usada em particular para propósito de + testes. Ou seja, simular uma requisição especial no modo CLI. + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Request_Simple + + + + + Yaf_Request_Simple + + + + extends + Yaf_Request_Abstract + + + + &Constants; + + const + string + Yaf_Request_Simple::SCHEME_HTTP + http + + + const + string + Yaf_Request_Simple::SCHEME_HTTPS + https + + + &Properties; + + + &Methods; + + + + &InheritedMethods; + + + + + +
+ + + +
+ &reftitle.properties; + + + module + + + + + + controller + + + + + + action + + + + + + method + + + + + + params + + + + + + language + + + + + + _exception + + + + + + _base_uri + + + + + + uri + + + + + + dispatched + + + + + + routed + + + + + +
+ + + + +
+ &reftitle.constants; + + + + Yaf_Request_Simple::SCHEME_HTTP + + + + + + + Yaf_Request_Simple::SCHEME_HTTPS + + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-request-simple; + +
+ + diff --git a/reference/yaf/yaf-response-abstract.xml b/reference/yaf/yaf-response-abstract.xml new file mode 100644 index 000000000..c997084d8 --- /dev/null +++ b/reference/yaf/yaf-response-abstract.xml @@ -0,0 +1,119 @@ + + + + + + A classe Yaf_Response_Abstract + Yaf_Response_Abstract + + + + +
+ &reftitle.intro; + + + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Response_Abstract + + + + + Yaf_Response_Abstract + + + + &Constants; + + const + string + Yaf_Response_Abstract::DEFAULT_BODY + "content" + + + &Properties; + + protected + _header + + + protected + _body + + + protected + _sendheader + + + + &Methods; + + + + + + +
+ + + +
+ &reftitle.properties; + + + _header + + + + + + _body + + + + + + _sendheader + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-response-abstract; + +
+ + diff --git a/reference/yaf/yaf-response-cli.xml b/reference/yaf/yaf-response-cli.xml new file mode 100644 index 000000000..017c8360e --- /dev/null +++ b/reference/yaf/yaf-response-cli.xml @@ -0,0 +1,106 @@ + + + + + + A classe Yaf_Response_Cli + Yaf_Response_Cli + + + + +
+ &reftitle.intro; + + + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Response_Cli + + + + + Yaf_Response_Cli + + + + extends + Yaf_Response_Abstract + + + + &Properties; + + + &Methods; + + + &InheritedMethods; + + + + + +
+ + + +
+ &reftitle.properties; + + + _header + + + + + + _body + + + + + + _sendheader + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-response-cli; + +
+ + diff --git a/reference/yaf/yaf-response-http.xml b/reference/yaf/yaf-response-http.xml new file mode 100644 index 000000000..1d7e14d6f --- /dev/null +++ b/reference/yaf/yaf-response-http.xml @@ -0,0 +1,120 @@ + + + + + + A classe Yaf_Response_Http + Yaf_Response_Http + + + + +
+ &reftitle.intro; + + + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Response_Http + + + + + Yaf_Response_Http + + + + extends + Yaf_Response_Abstract + + + + &Properties; + + protected + _sendheader + + + protected + _response_code + + + + &Methods; + + + &InheritedMethods; + + + + + +
+ + + +
+ &reftitle.properties; + + + _header + + + + + + _body + + + + + + _sendheader + + + + + + _response_code + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-response-http; + +
+ + diff --git a/reference/yaf/yaf-route-interface.xml b/reference/yaf/yaf-route-interface.xml new file mode 100644 index 000000000..cc889f7f4 --- /dev/null +++ b/reference/yaf/yaf-route-interface.xml @@ -0,0 +1,68 @@ + + + + + + A classe Yaf_Route_Interface + Yaf_Route_Interface + + + + +
+ &reftitle.intro; + + Yaf_Route_Interface é usada para definição de rotas + customizadas pelo usuário. + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Route_Interface + + + + + Yaf_Route_Interface + + + + + &Methods; + + + + +
+ +
+ + &reference.yaf.entities.yaf-route-interface; + +
+ + diff --git a/reference/yaf/yaf-route-regex.xml b/reference/yaf/yaf-route-regex.xml new file mode 100644 index 000000000..cc79c27f0 --- /dev/null +++ b/reference/yaf/yaf-route-regex.xml @@ -0,0 +1,134 @@ + + + + + + A classe Yaf_Route_Regex + Yaf_Route_Regex + + + + +
+ &reftitle.intro; + + Yaf_Route_Regex é a rota mais flexível dentre + as rotas incluídas no Yaf. + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Route_Regex + + + + + Yaf_Route_Regex + + + + extends + Yaf_Route_Interface + + + + Yaf_Route_Interface + + + + &Properties; + + protected + _route + + + protected + _default + + + protected + _maps + + + protected + _verify + + + + &Methods; + + + + &InheritedMethods; + + + + + +
+ + + +
+ &reftitle.properties; + + + _route + + + + + + _default + + + + + + _maps + + + + + + _verify + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-route-regex; + +
+ + diff --git a/reference/yaf/yaf-route-rewrite.xml b/reference/yaf/yaf-route-rewrite.xml new file mode 100644 index 000000000..b7a6171c2 --- /dev/null +++ b/reference/yaf/yaf-route-rewrite.xml @@ -0,0 +1,124 @@ + + + + + + A classe Yaf_Route_Rewrite + Yaf_Route_Rewrite + + + + +
+ &reftitle.intro; + + Para uso, consulte a seção de exemplo de + Yaf_Route_Rewrite::__construct + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Route_Rewrite + + + + + Yaf_Route_Rewrite + + + + extends + Yaf_Route_Interface + + + + Yaf_Route_Interface + + + + &Properties; + + protected + _route + + + protected + _default + + + protected + _verify + + + + &Methods; + + + + &InheritedMethods; + + + + + +
+ + + +
+ &reftitle.properties; + + + _route + + + + + + _default + + + + + + _verify + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-route-rewrite; + +
+ + diff --git a/reference/yaf/yaf-route-supervar.xml b/reference/yaf/yaf-route-supervar.xml new file mode 100644 index 000000000..c969ef021 --- /dev/null +++ b/reference/yaf/yaf-route-supervar.xml @@ -0,0 +1,94 @@ + + + + + + A classe Yaf_Route_Supervar + Yaf_Route_Supervar + + + + +
+ &reftitle.intro; + + + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Route_Supervar + + + + + Yaf_Route_Supervar + + + + Yaf_Route_Interface + + + + &Properties; + + protected + _var_name + + + + &Methods; + + + + + +
+ + + +
+ &reftitle.properties; + + + _var_name + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-route-supervar; + +
+ + diff --git a/reference/yaf/yaf-session.xml b/reference/yaf/yaf-session.xml new file mode 100644 index 000000000..0fe1edddc --- /dev/null +++ b/reference/yaf/yaf-session.xml @@ -0,0 +1,123 @@ + + + + + + A classe Yaf_Session + Yaf_Session + + + + +
+ &reftitle.intro; + + + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_Session + + + + + Yaf_Session + + + + Iterator + + + + ArrayAccess + + + + Countable + + + + &Properties; + + protected + static + _instance + + + protected + _session + + + protected + _started + + + + &Methods; + + + + + +
+ + + +
+ &reftitle.properties; + + + _instance + + + + + + _session + + + + + + _started + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-session; + +
+ + diff --git a/reference/yaf/yaf-view-simple.xml b/reference/yaf/yaf-view-simple.xml new file mode 100644 index 000000000..2cac0779d --- /dev/null +++ b/reference/yaf/yaf-view-simple.xml @@ -0,0 +1,106 @@ + + + + + + A classe Yaf_View_Simple + Yaf_View_Simple + + + + +
+ &reftitle.intro; + + Yaf_View_Simple é o mecanismo de padrão de visualização incluído no + Yaf. É simples porém rápido, e suporta somente padrões de script + PHP. + +
+ + +
+ &reftitle.classsynopsis; + + + + Yaf_View_Simple + + + + + Yaf_View_Simple + + + + Yaf_View_Interface + + + + &Properties; + + protected + _tpl_vars + + + protected + _tpl_dir + + + + &Methods; + + + + + +
+ + + +
+ &reftitle.properties; + + + _tpl_vars + + + + + + _tpl_dir + + + + + +
+ + + +
+ + &reference.yaf.entities.yaf-view-simple; + +
+ +