Changes for page #[RPC\Info]
Last modified by Ashterix on 2024/05/19 21:27
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,17 +1,25 @@ 1 -{{box cssClass="floatinginfobox"}} 1 +{{box cssClass="floatinginfobox" width="400px"}} 2 2 == (% style="display:block; margin-top:-30px; text-align:center" %)Summary(%%) == 3 3 4 4 (% style="margin-right:auto" %) 5 -|**Classname**|(% colspan="2" rowspan="1" %)Info 6 -|**Namespace**|(% colspan="2" %)Ufo\RpcObject\RPC 7 -|**Target**|(% colspan="2" rowspan="1" style="width:79px" %)class 8 -|(% colspan="3" %)**Arguments:** 9 -|(% colspan="1" rowspan="3" %)**$alias**|**type**|string 10 -|**optional**|true 11 -|**default**|null 12 -|(% colspan="1" rowspan="3" %)**$concat**|**type**|string 13 -|**optional**|true 14 -|**default**|'.' 5 +|(% style="width:141px" %)**Classname**|(% colspan="2" rowspan="1" style="width:79px" %)Info 6 +|(% style="width:141px" %)**Namespace**|(% colspan="2" style="width:79px" %)((( 7 +Ufo\RpcObject\RPC 8 +))) 9 +|(% style="width:141px" %)((( 10 +**Target** 11 +)))|(% colspan="2" rowspan="1" style="width:79px" %)class 12 +|(% colspan="3" style="width:141px" %)**Arguments:** 13 +|(% colspan="1" rowspan="3" style="width:141px" %)((( 14 +**$alias** 15 +)))|(% style="width:79px" %)**type**|(% style="width:153px" %)string 16 +|(% style="width:79px" %)**optional**|(% style="width:153px" %)true 17 +|(% style="width:79px" %)**default**|(% style="width:153px" %)null 18 +|(% colspan="1" rowspan="3" style="width:141px" %)((( 19 +**$concat** 20 +)))|(% style="width:79px" %)**type**|(% style="width:153px" %)string 21 +|(% style="width:79px" %)**optional**|(% style="width:153px" %)true 22 +|(% style="width:79px" %)**default**|(% style="width:153px" %)'.' 15 15 {{/box}} 16 16 17 17 = Class Aliases = ... ... @@ -64,11 +64,9 @@ 64 64 65 65 = Caveats = 66 66 67 -{{warning}} 68 -(% id="cke_bm_754S" style="display:none" %) (%%)NOTE that there is no additional validation regarding the use of aliases or concatenation symbols, so your actions could lead to the aliasing of another existing class. 75 +NOTE that there is no additional validation regarding the use of aliases or concatenation symbols, so your actions could lead to the aliasing of another existing class. 69 69 70 -For example, if in your application there is already a class {{code language="none"}}Foo{{/code}} with the method {{code language="none"}}bar{{/code}} added to the API as the method {{code language="none"}}Foo.bar{{/code}}, and you create a class {{code language="none"}}Baz{{/code}} (% id="cke_bm_372757S" style="display:none" %) (%%)with the method {{code language="none"}}bar{{/code}}(% id="cke_bm_372757E" style="display:none" %) (%%) and set its alias to {{code language="none"}}Foo{{/code}}, this will lead to the registration of two API services with the same name. The outcome of these actions is unpredictable. 71 -{{/warning}} 77 +For example, if in your application there is already a class {{code language="none"}}Foo{{/code}} with the method {{code language="none"}}bar{{/code}} added to the API as the method {{code language="none"}}Foo.bar{{/code}}, and you create a class {{code language="none"}}Baz{{/code}} (% id="cke_bm_372757S" style="display:none" %) (%%)with the method {{code language="none"}}bar{{/code}}(% id="cke_bm_372757E" style="display:none" %) (%%) and set its alias to {{code language="none"}}Foo{{/code}}, this will lead to the registration of two API services with the same name. The outcome of these actions is unpredictable. 72 72 73 73 {{error}} 74 74 By using this mechanism, you act at your own risk!