[prev in list] [next in list] [prev in thread] [next in thread]
List: pecl-cvs
Subject: [PECL-CVS] cvs: pecl /PECL_Gen ExtensionParser.php
From: "Hartmut Holzgraefe" <hholzgra () php ! net>
Date: 2004-12-27 16:29:51
Message-ID: cvshholzgra1104164991 () cvsserver
[Download RAW message or body]
hholzgra Mon Dec 27 11:29:51 2004 EDT
Modified files:
/pecl/PECL_Gen ExtensionParser.php
Log:
started to add PhpDOC method headers (to be continued)
http://cvs.php.net/diff.php/pecl/PECL_Gen/ExtensionParser.php?r1=1.6&r2=1.7&ty=u
Index: pecl/PECL_Gen/ExtensionParser.php
diff -u pecl/PECL_Gen/ExtensionParser.php:1.6 pecl/PECL_Gen/ExtensionParser.php:1.7
--- pecl/PECL_Gen/ExtensionParser.php:1.6 Mon Dec 27 06:28:45 2004
+++ pecl/PECL_Gen/ExtensionParser.php Mon Dec 27 11:29:51 2004
@@ -16,7 +16,7 @@
// | Authors: Hartmut Holzgraefe <hholzgra@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: ExtensionParser.php,v 1.6 2004/12/27 11:28:45 hholzgra Exp $
+// $Id: ExtensionParser.php,v 1.7 2004/12/27 16:29:51 hholzgra Exp $
//
require_once "PECL/Gen/XmlParser.php";
@@ -90,9 +90,15 @@
$this->helper = array_pop($this->helper_stack);
}
+ /**
+ * Handle <extension>
+ *
+ * @access private
+ * @param array attribute/value pairs
+ * @return bool success status
+ */
function tagstart_extension($attr)
{
-
if (!isset($attr["name"])) return $this->raiseError("needed attribute \
'name' not given"); $status = $this->extension->set_name(trim($attr["name"]));
if ($status === true && isset($attr["prefix"])) {
@@ -101,17 +107,40 @@
return $status;
}
+ /**
+ * Handle <extension><name>
+ *
+ * @access private
+ * @param array attribute/value pairs
+ * @return bool success status
+ */
function tagstart_extension_name($attr)
{
return $this->raiserError("extension name tag is no longer supported, \
use <extension>s 'name=...' attribute instead"); }
+ /**
+ * Handle <extension></summary>
+ *
+ * @access private
+ * @param array attribute/value pairs
+ * @param array tag data content
+ * @return bool success status
+ */
function tagend_extension_summary($attr, $data)
{
return $this->extension->set_summary(PECL_Gen_Tools_Indent::linetrim($data));
}
+ /**
+ * Handle <extension></description>
+ *
+ * @access private
+ * @param array attribute/value pairs
+ * @param array tag data content
+ * @return bool success status
+ */
function tagend_extension_description($attr, $data)
{
return $this->extension->set_description(PECL_Gen_Tools_Indent::linetrim($data));
--
PECL CVS Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic