Re: svn: /phpdoc/en/trunk/reference/fileinfo/functions/ finfo-buffer.xml finfo-close.xml finfo-file.xml finfo-set-flags.xml

From: Date: Tue, 21 Sep 2010 16:29:46 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/fileinfo/functions/ finfo-buffer.xml finfo-close.xml finfo-file.xml finfo-set-flags.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7143@lists.php.net to get a copy of this message
On 21 September 2010 17:08, Mark Skilbeck <markskilbeck@php.net> wrote: > markskilbeck                             Tue, 21 Sep 2010 16:08:01 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=303644 > > Log: > Clarifies documentation (procedural vs oop) re #52306 > > Bug: http://bugs.php.net/52306 (Open) finfo procedural/oop > syntax > > Changed paths: >    U   phpdoc/en/trunk/reference/fileinfo/functions/finfo-buffer.xml >    U   phpdoc/en/trunk/reference/fileinfo/functions/finfo-close.xml >    U   phpdoc/en/trunk/reference/fileinfo/functions/finfo-file.xml >    U   phpdoc/en/trunk/reference/fileinfo/functions/finfo-set-flags.xml > > Modified: phpdoc/en/trunk/reference/fileinfo/functions/finfo-buffer.xml > =================================================================== > --- phpdoc/en/trunk/reference/fileinfo/functions/finfo-buffer.xml       2010-09-21 15:49:01 > UTC (rev 303643) > +++ phpdoc/en/trunk/reference/fileinfo/functions/finfo-buffer.xml       2010-09-21 16:08:01 > UTC (rev 303644) > @@ -8,6 +8,7 @@ >  </refnamediv> >  <refsect1 role="description"> >   &reftitle.description; > +  <para>Procedural style</para> >   <methodsynopsis> >    <type>string</type><methodname>finfo_buffer</methodname> >   >  <methodparam><type>resource</type><parameter>finfo</parameter></methodparam> > @@ -15,6 +16,7 @@ >    <methodparam > choice="opt"><type>int</type><parameter>options</parameter><initializer>FILEINFO_NONE</initializer></methodparam> >    <methodparam > choice="opt"><type>resource</type><parameter>context</parameter><initializer>&null;</initializer></methodparam> >   </methodsynopsis> > +  <para>OOP style</para> >   <classsynopsis> >    <ooclass><classname>finfo</classname></ooclass> >    <methodsynopsis> > > Modified: phpdoc/en/trunk/reference/fileinfo/functions/finfo-close.xml > =================================================================== > --- phpdoc/en/trunk/reference/fileinfo/functions/finfo-close.xml        2010-09-21 15:49:01 > UTC (rev 303643) > +++ phpdoc/en/trunk/reference/fileinfo/functions/finfo-close.xml        2010-09-21 16:08:01 > UTC (rev 303644) > @@ -8,10 +8,12 @@ >  </refnamediv> >  <refsect1 role="description"> >   &reftitle.description; > +  <para>Procedural style</para> >   <methodsynopsis> >    <type>bool</type><methodname>finfo_close</methodname> >   >  <methodparam><type>resource</type><parameter>finfo</parameter></methodparam> >   </methodsynopsis> > +  <para>OOP style</para> >   <classsynopsis> >    <ooclass><classname>finfo</classname></ooclass> >    <destructorsynopsis> > > Modified: phpdoc/en/trunk/reference/fileinfo/functions/finfo-file.xml > =================================================================== > --- phpdoc/en/trunk/reference/fileinfo/functions/finfo-file.xml 2010-09-21 15:49:01 UTC (rev > 303643) > +++ phpdoc/en/trunk/reference/fileinfo/functions/finfo-file.xml 2010-09-21 16:08:01 UTC (rev > 303644) > @@ -8,6 +8,7 @@ >  </refnamediv> >  <refsect1 role="description"> >   &reftitle.description; > +  <para>Procedural style</para> >   <methodsynopsis> >    <type>string</type><methodname>finfo_file</methodname> >   >  <methodparam><type>resource</type><parameter>finfo</parameter></methodparam> > @@ -15,6 +16,7 @@ >    <methodparam > choice="opt"><type>int</type><parameter>options</parameter><initializer>FILEINFO_NONE</initializer></methodparam> >    <methodparam > choice="opt"><type>resource</type><parameter>context</parameter><initializer>&null;</initializer></methodparam> >   </methodsynopsis> > +  <para>OOP style</para> >   <classsynopsis> >    <ooclass><classname>finfo</classname></ooclass> >    <methodsynopsis> > > Modified: phpdoc/en/trunk/reference/fileinfo/functions/finfo-set-flags.xml > =================================================================== > --- phpdoc/en/trunk/reference/fileinfo/functions/finfo-set-flags.xml    2010-09-21 15:49:01 > UTC (rev 303643) > +++ phpdoc/en/trunk/reference/fileinfo/functions/finfo-set-flags.xml    2010-09-21 16:08:01 > UTC (rev 303644) > @@ -8,11 +8,13 @@ >  </refnamediv> >  <refsect1 role="description"> >   &reftitle.description; > +  <para>Procedural style</para> >   <methodsynopsis> >    <type>bool</type><methodname>finfo_set_flags</methodname> >   >  <methodparam><type>resource</type><parameter>finfo</parameter></methodparam> >   >  <methodparam><type>int</type><parameter>options</parameter></methodparam> >   </methodsynopsis> > +  <para>OOP style</para> >   <classsynopsis> >    <ooclass><classname>finfo</classname></ooclass> >    <methodsynopsis> > > > -- > PHP Documentation Commits Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > We have 2 entities for this ... <para>&style.oop;</para> and <para>&style.procedural;</para> Also, if we can use ... <methodsynopsis role="oop"> and <methodsynopsis role="procedural"> then we can get to the OOP and the procedural methods separately in XPath/XInclude. The DateTime class uses them. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

« previous php.doc.cvs (#7143) next »