nikolasha
nikolasha
Do, please, methods to specify a path to the main layout and partials of object View. ``` php _layoutsDir = (string) $layoutsDir; } public function setPartialsDir($partialsDir) { $this->_partialsDir = (string)...
For what purpose the directory layouts and partials bound relative to the views directory? It is very inconvenient to multimodule applications where all modules share a common layout. In this...
Phalcon\Mvc\View::disableLevel(View::LEVEL_*) call does not affect the rendering. Except Phalcon\Mvc\View::disableLevel(View::LEVEL_MAIN_LAYOUT) - nothing is rendered.
Code: ``` php Phalcon\Mvc\Model::query() ->where('id = ' . (int) $id) ->order('order') ->limit($limit, $offset) ->execute(); ``` Output: ``` php object(Phalcon\Mvc\Model\Exception)#40 (7) { ["message":protected]=> string(58) "Syntax error, unexpected token ORDER, near to...
Need to rename the method Phalcon\Mvc\Model\Criteria::addWhere() to andWhere(). In particular, for compliance with Phalcon\Mvc\Model\Query\Builder::andWhere()
For example, this code does not sets the header: ``` Phalcon\Http\Response::setHeader('Content-Length', '0') ```
In my opinion, Phalcon\Mvc\View is not made very well. This is especially noticeable when there are complex templates with a lot of partials that are nested into each other. In...
When setting raw response header is added to it by a colon: ``` php $this->response->setRawHeader('X-Raw-Header: value'); ``` Generated the response header: ``` X-Raw-Header: value: ``` Phalcon version 1.0.1
In version 1.0.1 reappeared bug #504
It would be nice to have a method `\Phalcon\Forms\Element::getAttribute($name, $default = null)`