-- Kexiao Liao <[EMAIL PROTECTED]> wrote
(on Wednesday, 05 September 2007, 07:18 AM -0700):
> In the Zend Framework class, there are so many variables which has a "_"
> prefixed to these variables. Why we use these underscore as the prefix for
> these variables name. Is there any document we can find for these variable
> naming rules. Thanks.

Look in the coding standards:

    http://framework.zend.com/manual/en/coding-standard.html

Protected and private class members are prefixed with '_' to set them
apart visually.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to