J DeBord wrote:
My code:

require_once 'Zend/Loader/Autoloader.php';
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->registerNamespace(array('Amazon_', 'Nba_'));

$filesDomain = new Nba_SimpleDb_Domain_Files;

There is a parse error in the class Nba_SimpleDb_Domain_Files.
With the code above, when executed, the screen is blank.


Rank amateur wrt ZF but I'll give this a stab.

According to the API "registerNamespace" takes a simple string, not an array. I'm guessing that you'd have to call that method twice, once for each namespace you wish to register.

hth,
Mike Wright

Reply via email to