void addImplements(
string
$implements
)
|
|
Parameters:
returns a list of all child classes of this class
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Returns all classes in other packages that have the same name as this class
Parameters:
API Tags:
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Return: | returns a simple array of const name strings |
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Return: | returns a simple array of const objects |
boolean getExtends(
[
$raw = false]
)
|
|
Parameters:
API Tags:
array getInheritedConsts(
Converter
&$c, [boolean
$override = false], [
$consts = false]
)
|
|
Parameters:
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: |
|
API Tags:
Return: | returns an array of consts by parent classname array(name => array(const1,const2..),name2 => array(const1....)) |
array getInheritedMethods(
Converter
&$c, [boolean
$override = false]
)
|
|
Parameters:
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 |
API Tags:
Return: | returns an array of methods by parent classname array(name => array(method1,method2..),name2 => array(method1....)) |
array getInheritedVars(
Converter
&$c, [boolean
$override = true], [
$vars = false]
)
|
|
Parameters:
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: |
|
API Tags:
Return: | returns an array of vars by parent classname array(name => array(var1,var1..),name2 => array(var1....)) |
mixed getLink(
Converter
$c, [string
$text = false], [
$returnobj = false]
)
|
|
quick way to link to this element
Parameters:
Converter |
$c: |
|
string |
$text: |
text to display for the link or false for default text |
|
$returnobj: |
|
API Tags:
Return: | converter-specific link to this class |
mixed getMethod(
Converter
&$c, string
$name, [boolean
$inherited = false]
)
|
|
Parameters:
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 |
API Tags:
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Return: | returns a simple array of method name strings |
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Return: | returns a simple array of method objects |
array|false getModifiers(
)
|
|
Get the PHP5+ modifiers for this class
(abstract/final/static/private/protected/public)
retrieve object that represents the parent class
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Return: | returns the parserClass representation of the parent class, or false if no parent class |
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
string getSourceLocation(
Converter
$c, [boolean
$pearize = false]
)
|
|
Parameters:
API Tags:
Get the associated tutorial for this class, if any
Information Tags:
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
string |
$name: |
var name in this class |
API Tags:
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Return: | returns a simple array of var name strings |
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
API Tags:
Return: | returns a simple array of var objects |
boolean hasConst(
Converter
&$c, string
$name
)
|
|
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
string |
$name: |
class constant name |
API Tags:
Return: | whether this class has a constant of name $name |
boolean hasMethod(
Converter
&$c, string
$name, [boolean
$inherited = false]
)
|
|
Parameters:
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 |
API Tags:
Return: | whether this class has a method of name $name |
boolean hasVar(
Converter
&$c, string
$name
)
|
|
Parameters:
Converter |
&$c: |
this function will not work before the Conversion stage of parsing |
string |
$name: |
var name |
API Tags:
Return: | whether this class has a var of name $name |
API Tags:
Return: | true if this is an interface class |
void setAccessModifiers(
array
$modifiers
)
|
|
Use this method to set access modifiers for a class
Parameters:
void setExtends(
string
$extends
)
|
|
Parameters:
API Tags:
Use this method to set the type of class to be an interface
void setModifiers(
string
$m
)
|
|
Set the PHP5+ modifiers for this class
(abstract/final/static/private/protected/public)
Parameters:
void setParent(
string
$p, string
$f, Classes
&$c
)
|
|
Parameters:
string |
$p: |
parent class name |
string |
$f: |
parent class file |
Classes |
&$c: |
Classes object currently calling setParent |
API Tags:
void setParentNoClass(
string
$par
)
|
|
Parameters:
void setSourceLocation(
string
$sl
)
|
|
Parameters:
API Tags: