0

how we could create a container for Zend_Navigation instead of xml file use of database table?

thanks

1 Answer 1

1

create table with columns {action,controller,ative,privalege ...etc)

then

$rows = $db->fetchAll();
$config = Zend_config($rows);
$navigation = new Zend_Navigation($config); or new Zend_Navigation($rows);

why this not be used a)database is slow b)layered navigation would be mess (one to many relation you ill need to create more tables)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.