Cmssspl
Cmssspl
http://grab.by/EVS8 For Laravel 4.x, check version 1.11 Change to For Laravel 5.x, check version 1.11 ;-)
https://phalcon-php-framework-documentation.readthedocs.org/en/latest/api/Phalcon_Mvc_View.html?highlight=set%20view%20name Title / code: public setParamToView (string $key, mixed $value) $this->view->setParamToView('products', $products); Is Ok, next: public setVars (array $params) $this->view->setParamToView(array('products' => $products)); Fix: setParamToView to setVars and public setVar (string...
W \ Phalcon \ Mvc \ ModuleDefinitionInterface -> registerAutoloaders should be shared di or registerAutoloaders method should not be required. If you are in the config path we leave registerAutoloaders...
How do I use pdo query in models?
Im add twig, and try use linkTo(): {{ linkTo('about', 'O grze') }} {{ link_to('about', 'O grze') }} {% linkTo('about', 'O grze') %} {% link_to('about', 'O grze') %} Tt does not...
$pdo = new \Phalcon\Db\Adapter\Pdo\Mysql($config->database->toArray()); $pdo->setFetchMode(Phalcon\Db::FETCH_ASSOC); Bug, if not, propose to add it method.
No one invention, if im set $view->setMainView(xyz) and if he exist -> include, if not exist -> nothing will happen. If set setTemplateAfter(xyz) and if dont exist return fatalerror. I...
``` php $pdo = new \Phalcon\Db\Adapter\Pdo\Mysql($config->database->toArray()); $pdo->setFetchMode(Phalcon\Db::FETCH_ASSOC); ``` I know that I used this improperly, but there should be posibility to set fetch mod for all queries. Is there any?...
Misclick :P
Declaration form: ``` php add(new Text('nick')); $this->add(new Text('pass')); $this->add(new Submit('save')); } } ``` View: ``` php Logowanie Login: {{ loginForm.render('nick') }} Hasło: {{ loginForm.render('pass') }} {{ loginForm.render('save') }} ``` Error:...