Re: [PHP] Constant Scope

2006-02-26 Thread Chris
Adrian Cid Almaguer wrote: Can I give visibility to a class constant. something like this class foo { private const = "aaa"; protected const = "bbb"; public const = "ccc"; } I dont want the user of my class can access to the constant. and I cant use public static fields because I dont wa

[PHP] Constant Scope

2006-02-26 Thread Adrian Cid Almaguer
Can I give visibility to a class constant. something like this class foo { private const = "aaa"; protected const = "bbb"; public const = "ccc"; } I dont want the user of my class can access to the constant. and I cant use public static fields because I dont want the content can be modifie

[PHP] Constant Scope

2006-02-26 Thread Adrian Cid Almaguer
Can I give visibility to a class constan. some thing like this class foo { } -- *** Si se encuentra bien, no se preocupe. Se le pasarĂ¡.