Use <constant> where needed

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@230207 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Mehdi Achour 2007-02-19 00:54:18 +00:00
parent 06318cb340
commit e5ff680d7d
2 changed files with 15 additions and 15 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.28 $ -->
<!-- $Revision: 1.29 $ -->
<refentry id="function.getimagesize">
<refnamediv>
<refname>getimagesize</refname>
@ -127,7 +127,7 @@ if ($size && $fp) {
<para>
If accessing the <parameter>filename</parameter> image is impossible, or
if it isn't a valid picture, <function>getimagesize</function> will
generate an error of level <varname>E_WARNING</varname>.
generate an error of level <constant>E_WARNING</constant>.
</para>
</refsect1>
<refsect1 role="changelog">

View file

@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
<!-- $Revision: 1.7 $ -->
<!-- $Revision: 1.8 $ -->
<refentry id="function.imagefilter">
<refnamediv>
<refname>imagefilter</refname>
@ -33,34 +33,34 @@
<itemizedlist>
<listitem>
<simpara>
<parameter>IMG_FILTER_NEGATE</parameter>: Reverses all colors of
<constant>IMG_FILTER_NEGATE</constant>: Reverses all colors of
the image.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_GRAYSCALE</parameter>: Converts the image into
<constant>IMG_FILTER_GRAYSCALE</constant>: Converts the image into
grayscale.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_BRIGHTNESS</parameter>: Changes the brightness
<constant>IMG_FILTER_BRIGHTNESS</constant>: Changes the brightness
of the image. Use <parameter>arg1</parameter> to set the level of
brightness.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_CONTRAST</parameter>: Changes the contrast of
<constant>IMG_FILTER_CONTRAST</constant>: Changes the contrast of
the image. Use <parameter>arg1</parameter> to set the level of
contrast.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_COLORIZE</parameter>: Like
<parameter>IMG_FILTER_GRAYSCALE</parameter>, except you can specify the
<constant>IMG_FILTER_COLORIZE</constant>: Like
<constant>IMG_FILTER_GRAYSCALE</constant>, except you can specify the
color. Use <parameter>arg1</parameter>, <parameter>arg2</parameter> and
<parameter>arg3</parameter> in the form of
<parameter>red</parameter>, <parameter>blue</parameter>,
@ -69,35 +69,35 @@
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_EDGEDETECT</parameter>: Uses edge detection to
<constant>IMG_FILTER_EDGEDETECT</constant>: Uses edge detection to
highlight the edges in the image.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_EMBOSS</parameter>: Embosses the image.
<constant>IMG_FILTER_EMBOSS</constant>: Embosses the image.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_GAUSSIAN_BLUR</parameter>: Blurs the image using
<constant>IMG_FILTER_GAUSSIAN_BLUR</constant>: Blurs the image using
the Gaussian method.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_SELECTIVE_BLUR</parameter>: Blurs the image.
<constant>IMG_FILTER_SELECTIVE_BLUR</constant>: Blurs the image.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_MEAN_REMOVAL</parameter>: Uses mean removal to
<constant>IMG_FILTER_MEAN_REMOVAL</constant>: Uses mean removal to
achieve a "sketchy" effect.
</simpara>
</listitem>
<listitem>
<simpara>
<parameter>IMG_FILTER_SMOOTH</parameter>: Makes the image smoother.
<constant>IMG_FILTER_SMOOTH</constant>: Makes the image smoother.
Use <parameter>arg1</parameter> to set the level of smoothness.
</simpara>
</listitem>