CakePHP is an open-source web, rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications.
In CakePHP 1.3 you can create a form with multiple submit buttons: echo $this->Form->submit('Submit 1', array(…
forms cakephp cakephp-2.0I cannot set title_for_layout in the PagesController that comes by default with CakePHP 1.3. I am using the following …
cakephp cakephp-1.3On a normal select, with no optgroups, the following code in CakePHP would make a value the default one: 'selected' =&…
php html cakephp cakephp-1.3I have a view file which have two forms in it at different positions say, one form is at the …
php cakephp cakephp-2.0I have tried to build a small function that would be use in controller to switch database on the fly, …
php database cakephp cakephp-1.3What's the cleanest way to add a prefix to every URL in CakePHP, like a language parameter? http://example.com/…
cakephp routing prefixI'm trying to use PHPUnit's returnValueMap() to stub out the results of a read. It isn't yielding the expected results, …
php cakephp phpunitI'm inside "PostsTable.php" I'm trying to get form data to treat image files. In CakePHP 2, I used to do: …
cakephp cakephp-3.0I'm looking to send the user to another page via a controller method. The other page expects POST data. Normally, …
php cakephp redirect post cakephp-2.4I have created a shell script as follows <?php class EmailShell extends AppShell { public function main() { $this->out(…
shell cakephp cakephp-2.1