PEAR method naming/coding standards

From: Date: Tue, 12 Feb 2002 16:06:12 +0000
Subject: PEAR method naming/coding standards
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-4649@lists.php.net to get a copy of this message
This might not be too important, but is there some common agreement in PEAR if method names are singular or plural? Since I18N_Messages is plural, but I18N_Paper is singular. I experienced sticking to singular makes things easier, i dont have to look up how the class name was, either "Messages" or "Message". Even though it sometimes is strange using a class name such as "Setting" instead of "Settings", but as i said i think it makes things easier. -- Wolfram ... translating template system ... http://wolfram.kriesing.de/SimpleTemplate

« previous php.pear.dev (#4649) next »