Added resource limit documentation

Added constants
Added note about destroy being deprecated


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331919 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mikko Koppanen 2013-10-23 07:44:09 +00:00
parent cc4e84bc20
commit 683af18981
6 changed files with 27 additions and 5 deletions

View file

@ -3309,6 +3309,7 @@
</term>
<listitem>
<simpara>
Set the maximum width * height of an image that can reside in the pixel cache memory.
</simpara>
</listitem>
</varlistentry>
@ -3319,6 +3320,7 @@
</term>
<listitem>
<simpara>
Set maximum amount of disk space in bytes permitted for use by the pixel cache.
</simpara>
</listitem>
</varlistentry>
@ -3329,6 +3331,7 @@
</term>
<listitem>
<simpara>
Set maximum number of open pixel cache files.
</simpara>
</listitem>
</varlistentry>
@ -3339,6 +3342,7 @@
</term>
<listitem>
<simpara>
Set maximum amount of memory map in bytes to allocate for the pixel cache.
</simpara>
</listitem>
</varlistentry>
@ -3349,6 +3353,19 @@
</term>
<listitem>
<simpara>
Set maximum amount of memory in bytes to allocate for the pixel cache from the heap.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="imagick.constants.resourcetype-thread">
<term>
<constant>imagick::RESOURCETYPE_THREAD</constant>
(<type>integer</type>)
</term>
<listitem>
<simpara>
Set maximum parallel threads.
&imagick.constant.available; 6.7.8 or higher.
</simpara>
</listitem>
</varlistentry>

View file

@ -38,7 +38,7 @@
Provide any channel constant that is valid for your channel mode. To
apply to more than one channel, combine channeltype constants using
bitwise operators. Refer to this
list of <link linkend="imagick.constants.channel">channel constants</link>.
list of <link linkend="imagick.constants.channel">channel constants</link>.
</para>
</listitem>
</varlistentry>

View file

@ -27,7 +27,7 @@
<term><parameter>artifact</parameter></term>
<listitem>
<para>
The name of the artifact
The name of the artifact to delete
</para>
</listitem>
</varlistentry>

View file

@ -13,7 +13,8 @@
<void/>
</methodsynopsis>
<para>
Destroys the Imagick object and frees all resources associated with it.
Destroys the Imagick object and frees all resources associated with it.
This method is deprecated in favour of <link linkend="imagick.clear">Imagick::clear</link>.
</para>
</refsect1>

View file

@ -13,7 +13,7 @@
<methodparam><type>int</type><parameter>type</parameter></methodparam>
</methodsynopsis>
<para>
Returns the specified resource limit in megabytes.
Returns the specified resource limit.
</para>
</refsect1>

View file

@ -14,7 +14,8 @@
<methodparam><type>int</type><parameter>limit</parameter></methodparam>
</methodsynopsis>
<para>
Sets the limit for a particular resource in megabytes.
This method is used to modify the resource limits of the underlying ImageMagick
library.
</para>
</refsect1>
@ -26,6 +27,8 @@
<term><parameter>type</parameter></term>
<listitem>
<para>
Refer to the list of <link
linkend="imagick.constants.resourcetypes">resourcetype constants</link>.
</para>
</listitem>
</varlistentry>
@ -33,6 +36,7 @@
<term><parameter>limit</parameter></term>
<listitem>
<para>
The resource limit. The unit depends on the type of the resource being limited.
</para>
</listitem>
</varlistentry>