mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Studly Caps
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155787 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
5df1c51595
commit
73a7b6bf58
1 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- $Revision: 1.8 $ -->
|
||||
<refentry id="function.stream-filter-register">
|
||||
<refnamediv>
|
||||
<refname>stream_filter_register</refname>
|
||||
|
@ -94,7 +94,7 @@
|
|||
</para>
|
||||
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>oncreate</methodname>
|
||||
<type>void</type><methodname>onCreate</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
|
@ -105,7 +105,7 @@
|
|||
</simpara>
|
||||
<simpara>
|
||||
When your filter is first instantiated, and
|
||||
<literal>yourfilter->oncreate()</literal> is called, a number of properties
|
||||
<literal>yourfilter->onCreate()</literal> is called, a number of properties
|
||||
will be available as shown in the table below.
|
||||
</simpara>
|
||||
<para>
|
||||
|
@ -136,14 +136,14 @@
|
|||
</para>
|
||||
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>onclose</methodname>
|
||||
<type>void</type><methodname>onClose</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This method is called upon filter shutdown (typically, this is also
|
||||
during stream shutdown), and is executed <emphasis>after</emphasis>
|
||||
the <literal>flush</literal> method is called. If any resources
|
||||
were allocated or initialzed during <literal>oncreate</literal>
|
||||
were allocated or initialzed during <literal>onCreate</literal>
|
||||
this would be the time to destroy or dispose of them.
|
||||
</para>
|
||||
|
||||
|
@ -231,7 +231,7 @@ class string_filter extends php_user_filter {
|
|||
return PSFS_PASS_ON;
|
||||
}
|
||||
|
||||
function oncreate()
|
||||
function onCreate()
|
||||
{
|
||||
if ($this->filtername == 'str.toupper') {
|
||||
$this->mode = 1;
|
||||
|
|
Loading…
Reference in a new issue