Demos
·
Guide
·
Class Reference
·
Wiki
·
Extensions
·
Forum
·
Live Chat
·
Login
About
About Yii
Features
Performance
License
Contact Us
Downloads
Framework
Extensions
Demos
Logo
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Development
Contribute to Yii
Latest Updates
Report a Bug
Report a Security Issue
Community
Forum
Live Chat
News
Hall of Fame
Badges
search
Documentation
Take the Tour
Tutorials
Class Reference
Wiki
Screencasts
Resources
Wiki
Follow @yiiframework
Articles tagged with "constants"
X
288
Displaying 1-1 of 1 result(s).
Managing constants easily
Created about a year ago by
briiC.lv
–
Tips
–
4 comments
– viewed 6,401 times – (
+4
)
For time to time i have models with constants (basicly status constants) which i use in diferent places and if these constant changes, i have to change mentions of constant in code elsewhere.
tags:
model
,
constant
,
constants
Write new article
Search Wiki
Sorted by date
Sorted by date (updated)
Sorted by rating
Sorted by comments
Sorted by views
All categories
Tips
(113)
How-tos
(197)
Tutorials
(180)
FAQs
(7)
Others
(14)
Popular Tags
AJAX
(27)
Authentication
(19)
CGridView
(42)
File upload
(10)
Forms
(8)
Logging
(9)
URL
(10)
Widgets
(12)
active record
(12)
config
(12)
database
(13)
filter
(10)
i18n
(17)
search
(9)
security
(19)
tutorial
(22)
understanding
(11)
user
(9)
views
(11)
yii
(25)
Recent comments
Johnny Gan
on
Relations: BELONGS_TO versus HAS_ONE
Johnny Gan
on
Beginner / Intro Tutorials (please add to /...
demo.ideaentity
on
How to generate Yii-like Documentation
trond
on
How to provide a fallback or mapping for...
trond
on
dfhmn