Iforp

Results comments of Iforp

The same problem. Check forum discussion please: http://forum.phalconphp.com/discussion/103/acl-roles-inheritance

Hi You forgot the quotes ``` php {% cache "test" %} test {% endcache %} ```

I can confirm it, capitalize isn't work ``` php {{ "hello"|capitalize }} // Phalcon\Mvc\View\Exception // Unknown filter "capitalize" ```

Filter registration works fine ``` php $volt = new \Phalcon\Mvc\View\Engine\Volt($this->view, $this->di); $compiler = $volt->getCompiler(); $compiler->addFilter('ucwords', 'ucwords'); var_dump($compiler->compileString('{{ "hello"|ucwords }}')); // string '' (length=31) ```

+1 but it's not the most urgent issue

I'm convinced that the router should return NULL if parameter is an integer. Any parameter can't be an integer, it's always a string, so every **convert** in such case is...

@phalcon what about other parameters? simple example ``` php $router->add("/:controller/?([0-9]+)?", [ 'id' => 2 ])->convert('id', function($id){ var_dump($id); }); $router->handle('/news'); // int 2 $router->handle('/news/2'); // string '2' (length=1) ```

That's the issue. It's impossible to get `NULL` by default. The only way is to use convert method (like in my comment https://github.com/phalcon/cphalcon/issues/502#issuecomment-15408951)