getImageProperties docs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@286758 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mikko Koppanen 2009-08-03 20:04:39 +00:00
parent 16cc67208b
commit d0d7f87d31

View file

@ -13,7 +13,7 @@
<methodparam choice="opt"><type>string</type><parameter>pattern</parameter><initializer>"*"</initializer></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>only_names</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
&warn.undocumented.func;
<para>
Returns all associated properties that match the pattern. If &true; is passed as second parameter
only the property names are returned. This method is present if Imagick is compiled against
@ -37,7 +37,7 @@
<term><parameter>only_names</parameter></term>
<listitem>
<para>
Whether to return only property names
Whether to return only property names. If &false; then also the values are returned
</para>
</listitem>
</varlistentry>
@ -70,7 +70,7 @@ $im = new imagick("/path/to/example.jpg");
/* Get the EXIF information */
$exifArray = $im->getImageProperties("exif:*");
/* Loop trough the exif properties */
/* Loop trough the EXIF properties */
foreach ($exifArray as $name => $property)
{
echo "{$name} => {$property}<br />\n";