cvs: php-gtk / CODING_STANDARDS
| From: | Steph Fox | Date: | Thu, 27 Oct 2005 12:46:06 +0000 |
| Subject: | cvs: php-gtk / CODING_STANDARDS | ||
| Groups: | php.gtk.cvs | ||
| Request: | Send a blank email to php-gtk-cvs+get-1965@lists.php.net to get a copy of this message | ||
sfox Thu Oct 27 08:46:06 2005 EDT
Modified files:
/php-gtk CODING_STANDARDS
Log:
Write 'PHP-GTK 2' in stone.
http://cvs.php.net/diff.php/php-gtk/CODING_STANDARDS?r1=1.4&r2=1.5&ty=u
Index: php-gtk/CODING_STANDARDS
diff -u php-gtk/CODING_STANDARDS:1.4 php-gtk/CODING_STANDARDS:1.5
--- php-gtk/CODING_STANDARDS:1.4 Thu Oct 27 08:34:18 2005
+++ php-gtk/CODING_STANDARDS Thu Oct 27 08:46:05 2005
@@ -101,3 +101,8 @@
Global variables: We can't emulate PEAR completely here, but we can stay
with the idea of prefixing global variable names with an underscore and
an uppercase identifier, e.g. $_MYCLASS_global_varname.
+ PHP-GTK itself should always be referred to as 'PHP-GTK', as both the PHP
+ part and the GTK part are acronyms. If you need to write about a specific
+ version in code commentary, the version number should be separated by a
+ single space, i.e. 'PHP-GTK 2', 'PHP 5', 'GTK 2'. In file or
class names,
+ simply omit the space.