Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

What does "any " in invo private tab means?

private $_tabs = array(
        'Invoices' => array(
            'controller' => 'invoices',
            'action' => 'index',
            'any' => false
        ),
        'Companies' => array(
            'controller' => 'companies',
            'action' => 'index',
            'any' => true
        ),
        'Products' => array(
            'controller' => 'products',
            'action' => 'index',
            'any' => true
        ),
        'Product Types' => array(
            'controller' => 'producttypes',
            'action' => 'index',
            'any' => true

what does "any " mean here??? i am new to phalcon



30.7k
Accepted
answer

Hi,

have a look here : https://github.com/phalcon/invo/blob/master/app/library/Elements.php#L114

this is for options passed to controller/action

Thank you i have the code already!!!! Can you explain it more clearly?? What does the options mean here??



30.7k

tab menu is shown on different views (companies/index companies/search and so on CompaniesController https://github.com/phalcon/invo/blob/master/app/controllers/CompaniesController.php).

See options in use in searchAction(): $numberPage = $this->request->getQuery("page", "int");