Loading Please wait...
PHP's Defining System is not so flexible so zigmoyd uses its own defining system served by
zDef Class.However zigmoyd itself sometime uses PHP's own define system for some of its Internal work.But still you will find this Class usefull and zigmoyd uses its own define system for its configurations that needed to be changed at runtime.
It has several static methods that you can use to set, get, remove, exists
- See also:
- zDef zDef Class Documentation
set/define/redfine
zDef::set('var', 'value')
;
get(retrive)
zDef::get('var')
;
Remember If you try to get a non existing key it will fire an error. so check its existance for doubtfull keys
remove
zDef::remove('var')
;
Remember If you try to remove a non existing key it will fire an error. so check its existance for doubtfull keys
Check wheather or not a macro already exists
zDef::exists('var')
;