void
addImplements
(string $implements)
returns a list of all child classes of this class
-
Converter
&$c: this function will not work before the Conversion stage of parsing
Returns all classes in other packages that have the same name as this class
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
Converter
&$c: this function will not work before the Conversion stage of parsing
boolean
getExtends
([ $raw = false])
array
getInheritedConsts
(
Converter &$c, [
boolean $override =
false], [
$consts =
false])
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
boolean
$override: determines whether overriden vars should be included in the list of inherited vars
-
$consts
array
getInheritedMethods
(
Converter &$c, [
boolean $override =
false])
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
boolean
$override: determines whether overriden methods should be included in the list of inherited methods
array
getInheritedVars
(
Converter &$c, [
boolean $override =
true], [
$vars =
false])
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
boolean
$override: determines whether overriden vars should be included in the list of inherited vars
-
$vars
quick way to link to this element
mixed
getLink
(
Converter $c, [
string $text =
false], [
$returnobj =
false])
-
Converter
$c
-
string
$text: text to display for the link or false for default text
-
$returnobj
mixed
getMethod
(
Converter &$c,
string $name, [
boolean $inherited =
false])
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
string
$name: method name in this class
-
boolean
$inherited: determines whether to search inherited methods as well
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
Converter
&$c: this function will not work before the Conversion stage of parsing
Get the PHP5+ modifiers for this class
(abstract/final/static/private/protected/public)
array|false
getModifiers
()
retrieve object that represents the parent class
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
Converter
&$c: this function will not work before the Conversion stage of parsing
string
getSourceLocation
(
Converter $c, [
boolean $pearize =
false])
Get the associated tutorial for this class, if any
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
string
$name: var name in this class
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
Converter
&$c: this function will not work before the Conversion stage of parsing
boolean
hasConst
(
Converter &$c,
string $name)
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
string
$name: class constant name
boolean
hasMethod
(
Converter &$c,
string $name, [
boolean $inherited =
false])
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
string
$name: method name
-
boolean
$inherited: determines whether to search inherited methods as well
-
Converter
&$c: this function will not work before the Conversion stage of parsing
-
string
$name: var name
Use this method to set access modifiers for a class
void
setAccessModifiers
(array $modifiers)
void
setExtends
(string $extends)
Use this method to set the type of class to be an interface
void
setInterface
()
Set the PHP5+ modifiers for this class
(abstract/final/static/private/protected/public)
void
setModifiers
(string $m)
void
setParent
(
string $p,
string $f,
Classes &$c)
-
string
$p: parent class name
-
string
$f: parent class file
-
Classes
&$c: Classes object currently calling setParent
void
setParentNoClass
(string $par)
void
setSourceLocation
(string $sl)
Inherited Methods
Inherited From parserElement
parserElement::getEndLineNumber()
parserElement::getFile()
parserElement::getLineNumber()
parserElement::getName()
parserElement::getPackage()
parserElement::getPath()
parserElement::setDocBlock()
parserElement::setEndLineNumber()
parserElement::setFile()
parserElement::setLineNumber()
parserElement::setName()
parserElement::setPath()
Inherited From parserBase
parserBase::getType()
parserBase::getValue()
parserBase::setValue()