Re: cvs: phpdoc /en/reference/strings/functions strnatcmp.xml substr-count.xml
| From: | Gabor Hojtsy | Date: | Sun, 26 May 2002 20:41:50 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/strings/functions strnatcmp.xml substr-count.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969345907@lists.php.net to get a copy of this message | ||
> > role="php" is used for PHP color highlighting in the new
> > CHM version, and may be used for other things (eg. generating
> > an index of examples by type). So if an example contains sql
> > code, then it's quite nice to have it with role="sql".
> > role="mysql" may be too specific though...
>
> imho having a sql string show as a normal PHP string
> is fine. What would role="sql" do, make keywords
> like SELECT and INSERT bold?
Maybe :) And would also be useful in an
"examples by type" index ;))
role="sql" is just classification. The non-php examples
*should not* use the role="php" attribute-value.
Currently only the PHP examples are hilghlited, and only
in the offline new CHM version. But tagging examples with
their types may open several possibilities in the future...
Goba