BIS fnc validateParametersOO: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *V([a-z ])" to "$1 - v$2")
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma3 |Game name=
|game1= arma3
|version1= 1.00


|1.00|Game version=
|gr1= OO


|gr1 = OO |GROUP1=
|descr= Validating the parameters of a certain method in a class.
____________________________________________________________________________________________


| Validating the parameters of a certain method in a class. |Description=
|s1= [class,method,params] call [[BIS_fnc_validateParametersOO]]
____________________________________________________________________________________________


| [class,method,params] call [[BIS_fnc_validateParametersOO]] |Syntax=
|p1= class: [[String]] - class name


|p1= class: [[String]] - Class name |Parameter 1=
|p2= method: [[String]] - method used for validating (Taken from '''class >> "Methods"''')


|p2= method: [[String]] - Method used for validating (Taken from '''class >> "Methods"''') |Parameter 2=
|p3= params: [[Array]] - to be validated parameters


|p3= params: [[Array]] - To be validated parameters |Parameter 3=
|r1= [[Boolean]] - validating flag


| [[Boolean]] - Validating flag |Return value=
|x1= <sqf>["someClass","someMethod",[5,47,"test"]] call BIS_fnc_validateParametersOO;</sqf>
____________________________________________________________________________________________


|x1= <code>["someClass","someMethod",[5,47,"test"]] [[call]] [[BIS_fnc_validateParametersOO]];</code>|Example 1=
|seealso= [[BIS_fnc_addClassOO]] [[BIS_fnc_createObjectOO]]
 
____________________________________________________________________________________________
 
| [[BIS_fnc_addClassOO]], [[BIS_fnc_createObjectOO]] |See also=
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: OO|{{uc:validateParametersOO}}]]
[[Category:Functions|{{uc:validateParametersOO}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:validateParametersOO}}]]

Latest revision as of 15:53, 8 November 2023

Hover & click on the images for description

Description

Description:
Validating the parameters of a certain method in a class.
Execution:
call
Groups:
OO

Syntax

Syntax:
[class,method,params] call BIS_fnc_validateParametersOO
Parameters:
class: String - class name
method: String - method used for validating (Taken from class >> "Methods")
params: Array - to be validated parameters
Return Value:
Boolean - validating flag

Examples

Example 1:
["someClass","someMethod",[5,47,"test"]] call BIS_fnc_validateParametersOO;

Additional Information

See also:
BIS_fnc_addClassOO BIS_fnc_createObjectOO

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note