From d10638843fbcea7771761fbf1d382017f44ec5e0 Mon Sep 17 00:00:00 2001 From: Brett Bieber Date: Sat, 15 Nov 2008 14:08:06 +0000 Subject: [PATCH] Document SplFileInfo::getPathInfo git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@269049 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/spl/splfileinfo/getpathinfo.xml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/reference/spl/splfileinfo/getpathinfo.xml b/reference/spl/splfileinfo/getpathinfo.xml index f78c8e59be..3369e0fac1 100644 --- a/reference/spl/splfileinfo/getpathinfo.xml +++ b/reference/spl/splfileinfo/getpathinfo.xml @@ -1,20 +1,20 @@ - + SplFileInfo::getPathInfo - The getPathInfo purpose + Get an SplFileInfo object for the path &reftitle.description; - public voidSplFileInfo::getPathInfo + public SplFileInfoSplFileInfo::getPathInfo stringclass_name - The method description goes here. + Gets an SplFileInfo object for the parent of the current file. @@ -26,7 +26,7 @@ class_name - Description... + Name of an SplFileInfo derived class to use. @@ -38,7 +38,7 @@ &reftitle.returnvalues; - Description... + Returns an SplFileInfo object for the parent path of the file. @@ -50,14 +50,16 @@ getPathInfo(); +var_dump($parent_info->getRealPath()); ?> ]]> &example.outputs.similar; @@ -68,7 +70,7 @@ &reftitle.seealso; - Classname::Method + SplFileInfo::setInfoClass