mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Updated to use missing "new" doc style elements (roles / simplelist seealso)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@171891 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
8748886df0
commit
3389d1408e
4 changed files with 42 additions and 35 deletions
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- splitted from ./en/functions/image.xml, last change in rev 1.81 -->
|
||||
<refentry id="function.exif-imagetype">
|
||||
<refnamediv>
|
||||
<refname>exif_imagetype</refname>
|
||||
<refpurpose>Determine the type of an image</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>exif_imagetype</methodname>
|
||||
|
@ -23,7 +23,7 @@
|
|||
whether or not the viewer is able to see a specific image in the browser.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
|
@ -38,7 +38,7 @@
|
|||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
When a correct signature is found, the appropriate constant value will be
|
||||
|
@ -47,7 +47,7 @@
|
|||
<function>exif_imagetype</function> is much faster.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
|
@ -76,7 +76,7 @@
|
|||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="constants">
|
||||
&reftitle.constants;
|
||||
<para>
|
||||
The following constants are defined, and represent possible
|
||||
|
@ -162,7 +162,7 @@
|
|||
</table>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
|
@ -179,10 +179,12 @@ if (exif_imagetype('image.gif') != IMAGETYPE_GIF) {
|
|||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>getimagesize</function>
|
||||
<simplelist>
|
||||
<member><function>getimagesize</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/image.xml, last change in rev 1.78 -->
|
||||
<refentry id="function.exif-read-data">
|
||||
<refnamediv>
|
||||
<refname>exif_read_data</refname>
|
||||
<refpurpose>
|
||||
Reads the <acronym>EXIF</acronym> headers from <acronym>JPEG</acronym> or <acronym>TIFF</acronym>
|
||||
</refpurpose>
|
||||
<refpurpose>Reads the <acronym>EXIF</acronym> headers from <acronym>JPEG</acronym> or <acronym>TIFF</acronym></refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>exif_read_data</methodname>
|
||||
|
@ -62,7 +60,7 @@
|
|||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
|
@ -160,7 +158,7 @@
|
|||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
It returns an associative <type>array</type> where the array indexes are
|
||||
|
@ -169,7 +167,7 @@
|
|||
<function>exif_read_data</function> will return &false;.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
|
@ -217,7 +215,7 @@
|
|||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
|
@ -242,6 +240,7 @@ foreach ($exif as $key => $section) {
|
|||
<para>
|
||||
The first call fails because the image has no header information.
|
||||
</para>
|
||||
&example.outputs.similar;
|
||||
<screen role="php">
|
||||
<![CDATA[
|
||||
test1.jpg:
|
||||
|
@ -280,8 +279,10 @@ THUMBNAIL.Thumbnail.Height: 1
|
|||
<refsect1>
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>exif_thumbnail</function>&listendand;
|
||||
<function>getimagesize</function>
|
||||
<simplelist>
|
||||
<member><function>exif_thumbnail</function></member>
|
||||
<member><function>getimagesize</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.exif-tagname">
|
||||
<refnamediv>
|
||||
<refname>exif_tagname</refname>
|
||||
<refpurpose>Get the header name for an index</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>exif_tagname</methodname>
|
||||
|
@ -15,7 +15,7 @@
|
|||
&warn.undocumented.func;
|
||||
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
|
@ -30,17 +30,19 @@
|
|||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the header name, or &false; if <parameter>index</parameter> is
|
||||
undefined.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>exif_imagetype</function>
|
||||
<simplelist>
|
||||
<member><function>exif_imagetype</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/image.xml, last change in rev 1.78 -->
|
||||
<refentry id="function.exif-thumbnail">
|
||||
<refnamediv>
|
||||
<refname>exif_thumbnail</refname>
|
||||
<refpurpose>Retrieve the embedded thumbnail of a TIFF or JPEG image</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>exif_thumbnail</methodname>
|
||||
|
@ -30,7 +30,7 @@
|
|||
are set.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
|
@ -71,14 +71,14 @@
|
|||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the embedded thumbnail, or &false; if the image contains no
|
||||
thumbnail.
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
|
@ -109,7 +109,7 @@
|
|||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
|
@ -136,11 +136,13 @@ if ($image!==false) {
|
|||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
<refsect1>
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
<function>exif_read_data</function>&listendand;
|
||||
<function>image_type_to_mime_type</function>
|
||||
<simplelist>
|
||||
<member><function>exif_read_data</function></member>
|
||||
<member><function>image_type_to_mime_type</function></member>
|
||||
</simplelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
Loading…
Reference in a new issue