PHP OOP properity constant usage
Posted
by Misiur
on Stack Overflow
See other posts from Stack Overflow
or by Misiur
Published on 2010-05-19T15:15:53Z
Indexed on
2010/05/19
15:20 UTC
Read the original article
Hit count: 327
Hi there.
I'm really new to OOP. I'm even not a newbie - I'm noob. So. I want to transfer my pseudo-CMS from "normal" programming, into OOP programming system. And so:
private static $dsn = DB_TYPE.':host='.DB_HOST.';dbname='.DB_NAME;
What here causes problem? Usage of constraints? I don't know. My editor (aptana studio) shows error after 1 constant. Thanks
© Stack Overflow or respective owner