OC Coding Style: Unterschied zwischen den Versionen

Zeile 34: Zeile 34:
     );
     );


Note that the starting " is on a tab position, while the following lines start one column to the right.
Note that the opening " is on a tab position, while the following lines start one column to the right.


If lines get too long, the parameters are moved to the next line(s) and indented to the next Tab position (which is ''three'' chars right of the preceding line start):
If lines get too long, the parameters are moved to the next line(s) and indented to the next Tab position (which is ''three'' chars right of the preceding line start):
Zeile 49: Zeile 49:
             AND `cache_logs`.`type` = '&1'
             AND `cache_logs`.`type` = '&1'
         WHERE
         WHERE
             `caches`.`status` = '&1'
             `caches`.`status` = '&2'
             AND `cache_logs`.`user_id` = '&2'
             AND `cache_logs`.`user_id` = '&3'
        $logType,
         $cacheStatus,
         $cacheStatus,
         $userId
         $userId
2.505

Bearbeitungen