]> granicus.if.org Git - php/commitdiff
- Update docu
authorMarcus Boerger <helly@php.net>
Mon, 1 Nov 2004 16:31:19 +0000 (16:31 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 1 Nov 2004 16:31:19 +0000 (16:31 +0000)
ext/spl/doxygen.cfg
ext/spl/spl.php

index 6f8eda9bd15172ceacf18e242a9d591ced34f420..c61e6987fe6a7f039e32dd7eee107695e4a7d053 100755 (executable)
@@ -1,20 +1,22 @@
-# Doxyfile 1.3.6
+# Doxyfile 1.3.9.1
 
 #---------------------------------------------------------------------------
 # Project related configuration options
 #---------------------------------------------------------------------------
-PROJECT_NAME           = SPL - Standard PHP Library
+PROJECT_NAME           = SPL-StandardPHPLibrary
 PROJECT_NUMBER         = 
 OUTPUT_DIRECTORY       = 
+CREATE_SUBDIRS         = NO
 OUTPUT_LANGUAGE        = English
 USE_WINDOWS_ENCODING   = YES
-BRIEF_MEMBER_DESC      = YES
+BRIEF_MEMBER_DESC      =
 REPEAT_BRIEF           = YES
 ABBREVIATE_BRIEF       = 
-ALWAYS_DETAILED_SEC    = NO
-INLINE_INHERITED_MEMB  = NO
+ALWAYS_DETAILED_SEC    = YES
+INLINE_INHERITED_MEMB  = YES
 FULL_PATH_NAMES        = NO
 STRIP_FROM_PATH        = 
+STRIP_FROM_INC_PATH    = 
 SHORT_NAMES            = NO
 JAVADOC_AUTOBRIEF      = YES
 MULTILINE_CPP_IS_BRIEF = YES
@@ -33,6 +35,7 @@ EXTRACT_ALL            = YES
 EXTRACT_PRIVATE        = YES
 EXTRACT_STATIC         = YES
 EXTRACT_LOCAL_CLASSES  = YES
+EXTRACT_LOCAL_METHODS  = YES
 HIDE_UNDOC_MEMBERS     = NO
 HIDE_UNDOC_CLASSES     = NO
 HIDE_FRIEND_COMPOUNDS  = NO
@@ -52,6 +55,7 @@ GENERATE_DEPRECATEDLIST= YES
 ENABLED_SECTIONS       = 
 MAX_INITIALIZER_LINES  = 30
 SHOW_USED_FILES        = YES
+SHOW_DIRECTORIES       = YES
 #---------------------------------------------------------------------------
 # configuration options related to warning and progress messages
 #---------------------------------------------------------------------------
@@ -64,8 +68,10 @@ WARN_LOGFILE           =
 #---------------------------------------------------------------------------
 # configuration options related to the input files
 #---------------------------------------------------------------------------
-INPUT                  = spl.php examples
-FILE_PATTERNS          = *.inc *.php
+INPUT                  = spl.php \
+                         examples
+FILE_PATTERNS          = *.inc \
+                         *.php
 RECURSIVE              = NO
 EXCLUDE                = 
 EXCLUDE_SYMLINKS       = NO
@@ -75,6 +81,7 @@ EXAMPLE_PATTERNS       =
 EXAMPLE_RECURSIVE      = NO
 IMAGE_PATH             = 
 INPUT_FILTER           = 
+FILTER_PATTERNS        = 
 FILTER_SOURCE_FILES    = NO
 #---------------------------------------------------------------------------
 # configuration options related to source browsing
index f3c0ba30479cf68de2c55f09952b91c8ef207eb5..7afc68170e1c73526b65b9cbe0289e2cd564d65c 100755 (executable)
@@ -69,39 +69,71 @@ class Exception
 
        /** Prevent clone
         */
-    final private function __clone();
+    final private function __clone() {}
 
-       /**
-        */
-       public function __construct($message, $code);
+       /** Construct an exception
+        *
+        * @param $message Some text describing the exception
+        * @param $code    Some code describing the exception
+        */
+       function __construct($message = NULL, $code = 0) {
+               if (func_num_args()) {
+                       $this->message = $message;
+               }
+               $this->code = $code;
+               $this->file = __FILE__; // of throw clause
+               $this->line = __LINE__; // of throw clause
+               $this->trace = debug_backtrace();
+               $this->string = StringFormat($this);
+       } 
 
        /** @return the message passed to the constructor
         */
-    final public function getMessage();
+    final public function getMessage()
+    {
+       return $this->message;
+    }
 
        /** @return the code passed to the constructor
         */
-    final public function getCode();
+    final public function getCode()
+    {
+       return $this->code;
+    }
 
        /** @return the name of the file where the exception was thrown
         */
-    final public function getFile();
+    final public function getFile()
+    {
+       return $this->file;
+    }
 
        /** @return the line number where the exception was thrown
         */
-    final public function getLine();
+    final public function getLine()
+    {
+       return $this->line;
+    }
 
        /** @return the stack trace as array
         */
-    final public function getTrace();
+    final public function getTrace()
+    {
+       return $this->trace;
+    }
 
        /** @return the stack trace as string
         */
-    final public function getTraceAsString();
+    final public function getTraceAsString()
+    {
+    }
 
        /** @return string represenation of exception
         */
-    public function __toString();
+    public function __toString()
+    {
+       return $this->string;
+    }
 }
 
 /** @ingroup SPL
@@ -165,7 +197,7 @@ class RuntimeException extends Exception
  *
  * @see OutOfRangeException
  */
-class OutOfBoundsException extends LogicException
+class OutOfBoundsException extends RuntimeException
 {
 }