Re: underscore in php functions?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stuart wrote:

> 2009/8/3 Oral Timocin <o_timocin@xxxxxx>:
>> Hi all,
>>
>> i am a newbie to php an want to learn it. Aftere reading some sample Code
>> an the documetation i have an unanswered question!
>>
>> for example:
>>
>> public function _example(){
>> }
>>
>> what does the _ mean in that function. Could anyone help me?
> 
> Absolutely. But some developers use it as a convention for private
> methods or some other indicator.
> 
> -Stuart
> 

Thank you for the answer. I have looked for the sample code again and you 
are right. Some of the marked funtions are protected and some are private. 
Now i have understand that. Thank you again.

regards

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux