Definitely you called wrong class again below:
"Class 'Pixiebox\Resources\Whitelist\ListAcl' not found" that was not your
class, it was:
"Pixiebox\Resources\Acl\Whitelist as Whitelist"
That's my index.php:
chdir(dirname(__DIR__));
// Setup autoloading
include 'init_autoloader.php';
Zend\Loader\AutoloaderFactory::factory(array(
'Zend\Loader\StandardAutoloader' => array(
'namespaces' => array(
'Pixiebox' => 'vendor/Pixiebox',
)
)
));
use Pixiebox\Resources\Acl\Whitelist as Whitelist,
Zend\Mvc\Controller\Plugin\AbstractPlugin;
echo Whitelist::getWhitelist();
I made getWhitelist method static and returned simple output, and guess
what? it is working as expected...
poashoas wrote
>
> Still not working.... Class 'Pixiebox\Resources\Whitelist\ListAcl' not
> found
> ...
> Should I make a classmap or something????
> When I am typing it in my Netbeans it is recognizing my class in the file
> and stuff with autosuggest.... still no success
>
-----
Cheers,
--
Luke Mierzwa
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Custom-Library-tp4656831p4656834.html
Sent from the Zend Framework mailing list archive at Nabble.com.
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]