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
-
... ... @@ -2,24 +2,16 @@ 2 2 == (% style="display:block; margin-top:-30px; text-align:center" %)Summary(%%) == 3 3 4 4 (% style="margin-right:auto" %) 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" %)'.' 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**|'.' 23 23 {{/box}} 24 24 25 25 = Class Aliases = ... ... @@ -72,9 +72,11 @@ 72 72 73 73 = Caveats = 74 74 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. 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. 76 76 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. 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}} 78 78 79 79 {{error}} 80 80 By using this mechanism, you act at your own risk!