SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 105 | Next

Hasin Hayder

"Object-Oriented Programming with PHP5"

First we will find their methods
and purpose:
export() method dumps the internal structure of any object, which is almost
similar to var_dump function.
getName() function returns the internal name of an object, hence the
class name.
isInternal() returns true if the class is a built-in object inside PHP5.
isUserDefined() is the opposite of isInternal() method. It just returns
whether the object is defined by the user.
getFileName() function returns the PHP script file name where the class
is written.
getStartLine() returns at which line the code of that class begins in the
script file.
getDocComment() is another interesting function which returns the class
level document for that object. We will demonstrate it in examples later in
this chapter.
getConstructor() returns the reference of the constructor of the object as a
ReflectionMethod object.
getMethod() function returns the address of any method passed to it as a
string. The returned object is a ReflectionMethod object.
getMethods() returns an array of all the methods in the object. In that array
every method is returned as ReflectionMethod object.
getProperty() function returns a reference to any property in that object, as
a ReflectionProperty object.


Pages:
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6