Project

General

Profile

Bug #22276 » 13811.diff

Administrator Admin, 2010-03-13 18:42

View differences:

t3lib/extjs/class.t3lib_extjs_extdirectapi.php (working copy)
$reflectionMethod = new ReflectionMethod($serverObject, $methodName);
$numberOfParameters = $reflectionMethod->getNumberOfParameters();
$docHeader = $reflectionMethod->getDocComment();
$formHandler = (strpos($docHeader, '@formHandler') !== FALSE);
$javascriptNamespaces[$javascriptNamespace]['actions'][$javascriptObjectName][] = array(
'name' => $methodName,
'len' => $numberOfParameters
'len' => $numberOfParameters,
'formHandler' => $formHandler
);
}
}
(1-1/2)