about entities
| From: | Christophe Gesché | Date: | Tue, 19 Oct 2004 05:52:43 +0000 |
| Subject: | about entities | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4991@lists.php.net to get a copy of this message | ||
in package.structures.structures_datagrid.structures_datagrid.bind
&title.returns;
<para>
&type.mixed;
- True upon success otherwise a &class.pear-error upon failure
</para>
I see in language-snippet.ent
<!ENTITY return.success-pearerror 'Retourne &true; en cas de succès, un objet <classname>PEAR_Error</classname> en cas d'échec.'>that's mean that I can repleace in my source "True upon success otherwise a &class.pear-error upon failure" by "&return.success-pearerror" Some question about this. 1° My translation is encoded <?xml version="1.0" encoding="iso-8859-1" ?> and not the language-snippet.ent There can be give problem ? 2° in the entity return.success-pearerror why not use &class.pear-error instead of PEAR_Error 3° more globaly, is it more efficient, easy to work for other, .. if I parse all my translation to replace hard wirted sentece by entities, when exist ? -- --------------------------------- Moosh -- php.net -- phpfrance.com === Php & Pear @ Fosdem 2005 === -- --------------------------------- Moosh -- php.net -- phpfrance.com === Php & Pear @ Fosdem 2005 ===