Class Types
Class for better work with defined types extends ITypes
public
|
#
__construct(
)
Register default types. There are all files with suffix "Type.php" in this
directory. Name type is prefix: "[name of type]Type.php"
Register default types. There are all files with suffix "Type.php" in this directory. Name type is prefix: "[name of type]Type.php" |
public
|
#
register(
string
$name,
string
$className,
string
$classPath
)
Register new type. It has to by child of abstract class AType. It is possible
rewrite already registered types (so defaults too).
Register new type. It has to by child of abstract class AType. It is possible rewrite already registered types (so defaults too). Parameters
|
public
|
|
public
array
|
#
getDefaultTypes(
)
Return list of all defaults types with their class name and files for including.
Return list of all defaults types with their class name and files for including. Returnsarray |