format = $format;
}
/**
* @param string|null $origin
* @return string
*/
public function classes($origin = NULL){
$mClass = get_declared_classes();
$pegaKey = 0;
foreach($mClass as $key => $value){
if($value == 'startEngineExacTI'){
$pegaKey = $key;
}
if($pegaKey != 0 and $key > $pegaKey){
$pegaClass[] .= $value;
}
}
if($this->format == "HTML" && $origin != 'intern'){
$pegaClassD = $pegaClass;
$pegaClass = '';
foreach($pegaClassD as $value) {
$pegaClass .= ''.$value.'
';
}
}
return($pegaClass);
}
/** @return array|string */
public function functions(){
$classes = $this->classes('intern');
$functions = array();
foreach($classes as $key => $value){
$functions = array_merge($functions, array($value => get_class_methods($value)));
}
if($this->format == "HTML"){
$functions = "";
foreach($classes as $value) {
$functions .= '