Class 'BasicLayout' not found
${PradoFramework}/Prado.php (324)
0313: * code expects the class not to be php5.3-namespaced (eg: MyDataModule instead of
0314: * \Application\Common\MyDataModule)
0315: * Skip this if the class is inside the Prado\* namespace, since all Prado classes are now namespaced
0316: */
0317: if (($pos = strrpos($type, '\\')) !== false && ($requestedType != $type) && strpos($type, 'Prado\\') !== 0) {
0318: $type = substr($type, $pos + 1);
0319: }
0320:
0321: if (count($params) > 0) {
0322: $object = new $type(...$params);
0323: } else {
0324: $object = new $type();
0325: }
0326: if ($properties) {
0327: foreach ($properties as $property => $value) {
0328: $object->setSubProperty($property, $value);
0329: }
0330: }
0331: return $object;
0332: }
0333:
0334: /**
0335: * Uses a namespace.
0336: * A namespace ending with an asterisk '*' refers to a directory, otherwise it represents a PHP file.
#0 ${PradoFramework}/Web/UI/TTemplateControl.php(237): Prado\Prado::createComponent('Application.Lay...')
#1 ${PradoFramework}/Web/UI/TPage.php(233): Prado\Web\UI\TTemplateControl->initRecursive()
#2 ${PradoFramework}/Web/UI/TPage.php(221): Prado\Web\UI\TPage->processNormalRequest(Object(Prado\Web\UI\THtmlWriter))
#3 ${PradoFramework}/Web/Services/TPageService.php(547): Prado\Web\UI\TPage->run(Object(Prado\Web\UI\THtmlWriter))
#4 ${PradoFramework}/Web/Services/TPageService.php(465): Prado\Web\Services\TPageService->runPage(Object(Homepage), Array)
#5 ${PradoFramework}/TApplication.php(1245): Prado\Web\Services\TPageService->run()
#6 ${PradoFramework}/TApplication.php(386): Prado\TApplication->runService()
#7 ${DocumentRoot}/index.php(24): Prado\TApplication->run()
#8 {main}