The majority of the developers, develop skepticism in which, what’s the correct place/Page in which they should declare the constant variable in cakephp.
Previous going to variable declaration, we must consider that any of us will work over a MVC platform and also we should not break the rules of MVC.
There are many place in which we are able to establish the particular constant variables in cakephp, these include practices
Get a file referred to as core.php inside app/config/ folder involving cakephp setup listing.
Presently there you will need to open the particular core.php.
For you to declare a constant global variable in cakephp, core.php only create following synta
– Read the full Blog at: How to create global variables in CakePHP?
You can check more informative blogs and tutorials at java development blogs section and can also browse the java questions and answers forum for posting and viewing latest questions on Java development.
Apart from this, If you have any Php issue, you can post it at Php developer forum.