[eluser]ferus[/eluser]
Hi, i would like to create static model/helper (mainly - class) with set of constants that i will be using across all my models/controllers, i.e.
Code:
const ERROR_CODE_WRONG_FILE = 123;
When i was creating applications in pure PHP i was just creating new class with only constants, then i was reffering to this by including_once class file and using it i.e.
Code:
echo Initializer::ERROR_CODE_WRONG_FILE;
Would you like to help me with solving my problem? Any help will be appreciated.
Cheers,
Maciej