Login | Register
My pages Projects Community openCollabNet

propel
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author =?ISO-8859-1?Q?David_Z=FClke?= <dz@bitxtender.com>
Full name =?ISO-8859-1?Q?David_Z=FClke?= <dz@bitxtender.com>
Date 2006-09-23 07:18:45 PDT
Message +1

http://trac.agavi.or​g/trac.cgi/wiki/Codi​ngStyle if you guys need some
inspiration ;)


Am 21.09.2006 um 16:03 schrieb Hans Lellelid:
> Yeah, I tend to agree. My personal preference is a hybrid approach
> where functions are like
>
> public function myfunc()
> {
>
> }
>
> but if-statements are on same line:
>
> if ($foo === true) {
>
> } elseif () {
>
> } else {
>
> }