Definition at line 23 of file ilUtilsPreventTest.php.
◆ extractMethodNames()
ilUtilsPreventTest::extractMethodNames |
( |
array |
$reflection_methods | ) |
|
|
private |
◆ testAmountOfMethodsInArrayUtil()
ilUtilsPreventTest::testAmountOfMethodsInArrayUtil |
( |
| ) |
|
Definition at line 90 of file ilUtilsPreventTest.php.
References $r, and extractMethodNames().
94 $amount_of_methods = count($methods);
95 $this->assertEquals(8, $amount_of_methods);
98 1 =>
'stripSlashesRecursive',
99 2 =>
'stripSlashesArray',
102 5 =>
'sort_func_numeric',
104 7 =>
'stableSortArray',
extractMethodNames(array $reflection_methods)
◆ testAmountOfMethodsInLegacyFormUtil()
ilUtilsPreventTest::testAmountOfMethodsInLegacyFormUtil |
( |
| ) |
|
Definition at line 127 of file ilUtilsPreventTest.php.
References $r, and extractMethodNames().
131 $amount_of_methods = count($methods);
132 $this->assertEquals(7, $amount_of_methods);
133 $this->assertEquals([
134 0 =>
'prepareFormOutput',
135 1 =>
'period2String',
136 2 =>
'prepareTextareaOutput',
137 3 =>
'makeTimeSelect',
140 6 =>
'formRadioButton',
extractMethodNames(array $reflection_methods)
◆ testAmountOfMethodsInShellUtil()
ilUtilsPreventTest::testAmountOfMethodsInShellUtil |
( |
| ) |
|
Definition at line 108 of file ilUtilsPreventTest.php.
References $r, and extractMethodNames().
112 $amount_of_methods = count($methods);
113 $this->assertEquals(9, $amount_of_methods);
114 $this->assertEquals([
116 1 =>
'escapeShellArg',
117 2 =>
'processConvertVersion',
118 3 =>
'escapeShellCmd',
120 5 =>
'isConvertVersionAtLeast',
121 6 =>
'getConvertCmd',
extractMethodNames(array $reflection_methods)
◆ testAmountOfMethodsInStrUtil()
ilUtilsPreventTest::testAmountOfMethodsInStrUtil |
( |
| ) |
|
Definition at line 144 of file ilUtilsPreventTest.php.
References $r, and extractMethodNames().
148 $amount_of_methods = count($methods);
149 $this->assertEquals(12, $amount_of_methods);
150 $this->assertEquals([
160 9 =>
'convertUpperCamelCaseToUnderscoreCase',
161 10 =>
'shortenTextExtended',
162 11 =>
'shortenWords',
extractMethodNames(array $reflection_methods)
◆ testAmountOfMethodsInUtil()
ilUtilsPreventTest::testAmountOfMethodsInUtil |
( |
| ) |
|
Definition at line 32 of file ilUtilsPreventTest.php.
References $r, and extractMethodNames().
36 $amount_of_methods = count($methods);
37 $this->assertEquals(48, $amount_of_methods);
39 0 =>
'getImageTagByType',
42 3 =>
'getStyleSheetLocation',
43 4 =>
'getNewContentStyleSheetLocation',
46 7 =>
'replaceLinkProperties',
51 12 =>
'appendUrlParameterString',
53 14 =>
'stripOnlySlashes',
55 16 =>
'getSecureTags',
56 17 =>
'maskSecureTags',
57 18 =>
'unmaskSecureTags',
58 19 =>
'securePlainString',
59 20 =>
'htmlencodePlainString',
60 21 =>
'maskAttributeTag',
61 22 =>
'unmaskAttributeTag',
65 26 =>
'stripScriptHTML',
67 28 =>
'extractParameterString',
70 31 =>
'deducibleSize',
72 33 =>
'insertInstIntoID',
73 34 =>
'groupNameExists',
76 37 =>
'_getObjectsByOperations',
78 39 =>
'__extractRefId',
81 42 =>
'getSystemMessageHTML',
84 45 =>
'parseImportId',
extractMethodNames(array $reflection_methods)
The documentation for this class was generated from the following file: