From: Tim Starling Date: Mon, 18 Feb 2008 07:45:44 +0000 (+0000) Subject: Documentation. X-Git-Tag: 1.31.0-rc.0~49452 X-Git-Url: http://git.cyclocoop.org/%7B%7B%20url_for%28%27admin_vote_add%27%29%20%7D%7D?a=commitdiff_plain;h=db33512d7ec1564174b827f87e9216cc751a646b;p=lhc%2Fweb%2Fwiklou.git Documentation. --- diff --git a/includes/Preprocessor.php b/includes/Preprocessor.php index 2543a23dc8..34bc1e5b3a 100644 --- a/includes/Preprocessor.php +++ b/includes/Preprocessor.php @@ -1,8 +1,13 @@ node into an associative array containing: + * name PPNode name + * index String index + * value PPNode value + */ function splitArg(); + + /** + * Split an node into an associative array containing name, attr, inner and close + * All values in the resulting array are PPNodes. Inner and close are optional. + */ function splitExt(); + + /** + * Split an node + */ function splitHeading(); } diff --git a/includes/Preprocessor_DOM.php b/includes/Preprocessor_DOM.php index c3ed83aa2a..0e2e9a1615 100644 --- a/includes/Preprocessor_DOM.php +++ b/includes/Preprocessor_DOM.php @@ -1297,8 +1297,10 @@ class PPNode_DOM implements PPNode { } /** - * Split an node into a three-element array: - * PPNode name, string index and PPNode value + * Split a node into an associative array containing: + * name PPNode name + * index String index + * value PPNode value */ function splitArg() { $names = $this->xpath->query( 'name', $this->node ); diff --git a/includes/Preprocessor_Hash.php b/includes/Preprocessor_Hash.php index 1d6331bd0d..2034278d4b 100644 --- a/includes/Preprocessor_Hash.php +++ b/includes/Preprocessor_Hash.php @@ -1265,8 +1265,10 @@ class PPNode_Hash_Tree implements PPNode { } /** - * Split an node into a three-element array: - * PPNode name, string index and PPNode value + * Split a node into an associative array containing: + * name PPNode name + * index String index + * value PPNode value */ function splitArg() { $bits = array(); @@ -1322,7 +1324,7 @@ class PPNode_Hash_Tree implements PPNode { } /** - * Split a node + * Split an node */ function splitHeading() { if ( $this->name !== 'h' ) {