FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


$auth->acl($user->data); What does -> mean





Possum
In the php code

Code:
$auth->acl($user->data);


What does mean ->
Code:
->


Quote:
Its got something to do with getting data from an Object. Very hard to Google ->
Peterssidan
-> is used to access variables and functions of the object. Many other languages (such as Java) use the dot for this purpose but PHP already uses the dot for string concatenation so I guess that is the reason why it has to use a different symbol.
Possum
Thx Peterssidan


Its amazing how things seem obvious when you know how they work...
Related topics
Reply to topic    Frihost Forum Index -> Support and Web Hosting -> Web Hosting Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.