From dee52b9d9f307506a06abf6498815d60ee7295b3 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 3 Nov 2014 11:54:59 +0000 Subject: [PATCH] Add OO documentation for finfo. Fixes doc bug #68337 (Object-Oriented version of finfo is not properly documented). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335155 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/fileinfo/book.xml | 1 + reference/fileinfo/finfo.xml | 68 ++++++++++++++++++++++++++ reference/fileinfo/finfo/buffer.xml | 43 ++++++++++++++++ reference/fileinfo/finfo/construct.xml | 42 ++++++++++++++++ reference/fileinfo/finfo/file.xml | 43 ++++++++++++++++ reference/fileinfo/finfo/set-flags.xml | 41 ++++++++++++++++ reference/fileinfo/versions.xml | 9 +++- 7 files changed, 246 insertions(+), 1 deletion(-) create mode 100644 reference/fileinfo/finfo.xml create mode 100644 reference/fileinfo/finfo/buffer.xml create mode 100644 reference/fileinfo/finfo/construct.xml create mode 100644 reference/fileinfo/finfo/file.xml create mode 100644 reference/fileinfo/finfo/set-flags.xml diff --git a/reference/fileinfo/book.xml b/reference/fileinfo/book.xml index 734e631529..bd5b79c1bb 100644 --- a/reference/fileinfo/book.xml +++ b/reference/fileinfo/book.xml @@ -22,6 +22,7 @@ &reference.fileinfo.setup; &reference.fileinfo.constants; &reference.fileinfo.reference; + &reference.fileinfo.finfo; diff --git a/reference/fileinfo/finfo.xml b/reference/fileinfo/finfo.xml new file mode 100644 index 0000000000..ce604f02c0 --- /dev/null +++ b/reference/fileinfo/finfo.xml @@ -0,0 +1,68 @@ + + + + + + The finfo class + finfo + + + + +
+ &reftitle.intro; + + This class provides an object oriented interface into the fileinfo + functions. + +
+ + +
+ &reftitle.classsynopsis; + + + + finfo + + + + + finfo + + + + + + + + + +
+ +
+ + &reference.fileinfo.entities.finfo; + +
+ + diff --git a/reference/fileinfo/finfo/buffer.xml b/reference/fileinfo/finfo/buffer.xml new file mode 100644 index 0000000000..869eb26cae --- /dev/null +++ b/reference/fileinfo/finfo/buffer.xml @@ -0,0 +1,43 @@ + + + + + + finfo::buffer + &Alias; finfo_buffer + + + + &reftitle.description; + + public stringfinfo::buffer + stringstring&null; + intoptionsFILEINFO_NONE + resourcecontext&null; + + + &info.function.alias; finfo_buffer + + + + + diff --git a/reference/fileinfo/finfo/construct.xml b/reference/fileinfo/finfo/construct.xml new file mode 100644 index 0000000000..005a64fb77 --- /dev/null +++ b/reference/fileinfo/finfo/construct.xml @@ -0,0 +1,42 @@ + + + + + + finfo::__construct + &Alias; finfo_open + + + + &reftitle.description; + + public finfo::__construct + intoptionsFILEINFO_NONE + stringmagic_file&null; + + + &info.function.alias; finfo_open + + + + + diff --git a/reference/fileinfo/finfo/file.xml b/reference/fileinfo/finfo/file.xml new file mode 100644 index 0000000000..f2199227e2 --- /dev/null +++ b/reference/fileinfo/finfo/file.xml @@ -0,0 +1,43 @@ + + + + + + finfo::file + &Alias; finfo_file + + + + &reftitle.description; + + public stringfinfo::file + stringfile_name&null; + intoptionsFILEINFO_NONE + resourcecontext&null; + + + &info.function.alias; finfo_file + + + + + diff --git a/reference/fileinfo/finfo/set-flags.xml b/reference/fileinfo/finfo/set-flags.xml new file mode 100644 index 0000000000..48de19d748 --- /dev/null +++ b/reference/fileinfo/finfo/set-flags.xml @@ -0,0 +1,41 @@ + + + + + + finfo::set_flags + &Alias; finfo_set_flags + + + + &reftitle.description; + + public boolfinfo::set_flags + intoptions + + + &info.function.alias; finfo_set_flags + + + + + diff --git a/reference/fileinfo/versions.xml b/reference/fileinfo/versions.xml index 31d94bca47..b08d782e1e 100644 --- a/reference/fileinfo/versions.xml +++ b/reference/fileinfo/versions.xml @@ -9,6 +9,13 @@ + + + + + + + @@ -31,4 +38,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> \ No newline at end of file +-->