Questions tagged [cakephp-helper]

Helpers are the component-like classes for the presentation layer of cakephp application

Helpers contain presentational logic that is shared between many views, elements, or layouts.

Deceleration: (In Controller)

class BakeriesController extends AppController {
    public $helpers = array('Form', 'Html', 'Js', 'Time');
}

Usage: (In View)

echo $this->Html->css('styles');

Manual Refrence

17 questions
0
votes
1 answer

CakePHP, Routing for optional controller using generic controller otherwise

I'd like to make an application in CakePHP which manages exercises and users results. Users and results are not important in this question. I want to have a possibility to add an exercise with adding only a specific table and line to .ini config…
-2
votes
1 answer

How to navigate to other page in html?

I'm a nood in phpand html also javascript, and I'm tring to make a login system with html and php and javascript if necesery but here is a problem which is i don't know how to navigate to other page after login (I tryed to use header() before but…
james
  • 1
  • 2
1
2