|
@@ 175-177 (lines=3) @@
|
| 172 |
|
public function allMethodNames($custom = false) |
| 173 |
|
{ |
| 174 |
|
$class = get_class($this); |
| 175 |
|
if (!isset(self::$built_in_methods[$class])) { |
| 176 |
|
self::$built_in_methods[$class] = array_map('strtolower', get_class_methods($this)); |
| 177 |
|
} |
| 178 |
|
|
| 179 |
|
if ($custom && isset(self::$extra_methods[$class])) { |
| 180 |
|
return array_merge(self::$built_in_methods[$class], array_keys(self::$extra_methods[$class])); |
|
@@ 201-203 (lines=3) @@
|
| 198 |
|
$extension->clearOwner(); |
| 199 |
|
} |
| 200 |
|
} else { |
| 201 |
|
if (!isset(self::$built_in_methods[$extension->class])) { |
| 202 |
|
self::$built_in_methods[$extension->class] = array_map('strtolower', get_class_methods($extension)); |
| 203 |
|
} |
| 204 |
|
$methods = self::$built_in_methods[$extension->class]; |
| 205 |
|
} |
| 206 |
|
|