cvs: phpdoc-cs /reference/strings/functions get-meta-tags.xml /reference/url/functions get-meta-tags.xml
[email protected] ("Jakub Vrana") Sun, 07 Dec 2003 18:12:02 -0000
| Newsgroups | php.doc.cs |
|---|---|
| Message-ID | <cvsvrana1070820722@cvsserver> |
vrana Sun Dec 7 13:12:02 2003 EDT
Added files:
/phpdoc-cs/reference/url/functions get-meta-tags.xml
Removed files:
/phpdoc-cs/reference/strings/functions get-meta-tags.xml
Log:
Moved from strings/ to url/
Index: phpdoc-cs/reference/url/functions/get-meta-tags.xml
+++ phpdoc-cs/reference/url/functions/get-meta-tags.xml
<?xml version="1.0" encoding="iso-8859-2"?>
<!-- splitted from ./cs/functions/strings.xml, last change in rev 1.1 -->
<!-- last change to 'get-meta-tags' in en/ tree in rev 1.2 -->
<refentry id="function.get-meta-tags">
<refnamediv>
<refname>get_meta_tags</refname>
<refpurpose>
Získá hodnoty content atributù v¹ech meta tagù v souboru a vrátí pole
</refpurpose>
</refnamediv>
<refsect1>
<title>Popis</title>
<methodsynopsis>
<type>array</type><methodname>get_meta_tags</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter></methodparam>
</methodsynopsis>
<para>
Otevøe <parameter>filename</parameter>, pøeète ho po øádcích, a vyhledá
<meta> tagy ve tvaru
<example>
<title>Ukázka na Meta Tagy</title>
<programlisting role="html">
<meta name="author" content="name">
<meta name="tags" content="php3 documentation">
</head> <!-- tady ètení skonèí -->
</programlisting>
</example>
(vìnujte pozornost koncùm øádkù - PHP pou¾ívá ke ètení vstupu nativní
funkci, tak¾e Macovský soubor na Unixu nebude fungovat).
</para>
<para>
Hodnota atributu name se ve vráceném poli stává klíèem, hodnota atributu
content hodnotou tohoto pole, tak¾e ho mù¾ete snadno projít nebo získat
jednotlivé hodnoty pomocí snandardních funkcí pro práci s poli.
Zvlá¹tní znaky v hodnotì atributu name jsou nahrazeny znakem '_', zbytek
se pøevede na malá písmena.
</para>
<para>
Pokud je <parameter>use_include_path</parameter> rovno 1, PHP se pokusí
otevøít soubor v standardní include cestì.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->