organization:комментарии_в_файлах
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| organization:комментарии_в_файлах [2010/07/14 07:25] – created dmitriy | organization:комментарии_в_файлах [2010/07/14 07:27] (current) – dmitriy | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | === Комментарии в PHP === | ||
| - | |||
| Все комментарии должны быть на английском языке. | Все комментарии должны быть на английском языке. | ||
| + | === Комментарии в PHP === | ||
| + | \\ | ||
| Простые комментарии // используются для поясняющего комментирования отдельных конструкций кода | Простые комментарии // используются для поясняющего комментирования отдельных конструкций кода | ||
| + | \\ | ||
| Comments go on the line ABOVE the code, NOT to the right of the code! | Comments go on the line ABOVE the code, NOT to the right of the code! | ||
| + | \\ \\ | ||
| комментирование файлов, | комментирование файлов, | ||
| + | |||
| Example of commented the start of page | Example of commented the start of page | ||
| + | \\ \\ | ||
| '' | '' | ||
| - | /** | + | \\ /** |
| - | * Template processor class | + | \\ * Template processor class |
| - | * | + | \\ * |
| - | * The template processor class allows keeping HTML code completely free of PHP code, but contain replacement fields. | + | \\ * The template processor class allows keeping HTML code completely free of PHP code, but contain replacement fields. |
| - | * The class provides you with functions which can fill in the replacement fields with arbitrary strings. | + | \\ * The class provides you with functions which can fill in the replacement fields with arbitrary strings. |
| - | * @package common | + | \\ * @package common |
| - | */ | + | \\ */ |
| '' | '' | ||
| + | \\ \\ | ||
| + | ==== Комментарии в JS ==== | ||
| - | === Комментарии в JS === | + | \\ \\ |
| Простые комментарии // используются для поясняющего комментирования отдельных конструкций кода | Простые комментарии // используются для поясняющего комментирования отдельных конструкций кода | ||
| + | |||
| + | \\ \\ | ||
| комментирование функций осуществляется в стиле псевдо PHPDocumentor | комментирование функций осуществляется в стиле псевдо PHPDocumentor | ||
| + | \\ \\ | ||
| '' | '' | ||
| - | /** | + | \\ /** |
| - | * send ajax request for picture render | + | \\ * send ajax request for picture render |
| - | * @param label_section string identifier of section | + | \\ * @param label_section string identifier of section |
| - | * @return string identifier of message | + | \\ * @return string identifier of message |
| - | */ | + | \\ */ |
| '' | '' | ||
organization/комментарии_в_файлах.1279092331.txt.gz · Last modified: (external edit)
