Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/simpletestlib/reflection_php4.php
Go to the documentation of this file.
00001 <?php
00015 class SimpleReflection {
00016     var $_interface;
00017 
00023     function SimpleReflection($interface) {
00024         $this->_interface = $interface;
00025     }
00026 
00032     function classExists() {
00033         return class_exists($this->_interface);
00034     }
00035 
00042     function classExistsSansAutoload() {
00043         return class_exists($this->_interface);
00044     }
00045 
00052     function classOrInterfaceExists() {
00053         return class_exists($this->_interface);
00054     }
00055 
00062     function classOrInterfaceExistsSansAutoload() {
00063         return class_exists($this->_interface);
00064     }
00065 
00072     function getMethods() {
00073         return get_class_methods($this->_interface);
00074     }
00075 
00083     function getInterfaces() {
00084         return array();
00085     }
00086 
00092     function getParent() {
00093         return strtolower(get_parent_class($this->_interface));
00094     }
00095 
00102     function isAbstract() {
00103         return false;
00104     }
00105 
00112     function isInterface() {
00113         return false;
00114     }
00115         
00122     function hasFinal() {
00123         return false;
00124     }
00125 
00132     function getSignature($method) {
00133         return "function &$method()";
00134     }
00135 }
00136 ?>
 All Data Structures Namespaces Files Functions Variables Enumerations