Show
Ignore:
Timestamp:
01/25/08 20:09:22 (10 months ago)
Author:
richi
Message:

coding standards: fixed coding standards issues (function docblock)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/main/php/net/stubbles/xml/stubLibXmlXMLStreamWriter.php

    r1296 r1301  
    11<?php 
    22/** 
    3  * XML STream Writer based on libxml 
     3 * XML Stream Writer based on libxml 
    44 * 
    55 * @author      Stephan Schmidt <schst@stubbles.net> 
     
    1212); 
    1313/** 
    14  * XML STream Writer based on libxml 
     14 * XML Stream Writer based on libxml 
    1515 * 
    1616 * @package     stubbles 
     
    3535     * Create a new writer 
    3636     * 
    37      * @param string $xmlVersion 
    38      * @param string $encoding 
     37     * @param string $xmlVersion 
     38     * @param string $encoding 
    3939     */ 
    4040    public function __construct($xmlVersion = '1.0', $encoding = 'UTF-8') 
     
    6464     * Write an opening tag 
    6565     * 
    66      * @param string $elementName 
     66     * @param string $elementName 
    6767     */ 
    6868    public function writeStartElement($elementName) 
     
    7474     * Write a text node 
    7575     * 
    76      * @param string $data 
     76     * @param string $data 
    7777     */ 
    7878    public function writeText($data) 
     
    8484     * Write a cdata section 
    8585     * 
    86      * @param string $cdata 
     86     * @param string $cdata 
    8787     */ 
    8888    public function writeCData($cdata) 
     
    9494     * Write a comment 
    9595     * 
    96      * @param string $comment 
     96     * @param string $comment 
    9797     */ 
    9898    public function writeComment($comment) 
     
    104104     * Write a processing instruction 
    105105     * 
    106      * @param string $target 
    107      * @param string $data 
     106     * @param string $target 
     107     * @param string $data 
    108108     */ 
    109109    public function writeProcessingInstruction($target, $data = '') 
     
    115115     * Write an xml fragment 
    116116     * 
    117      * @param string $fragment 
     117     * @param string $fragment 
    118118     */ 
    119119    public function writeXmlFragment($fragment) 
     
    125125     * Write an attribute 
    126126     * 
    127      * @param string $attributeName 
    128      * @param string $attributeValue 
     127     * @param string $attributeName 
     128     * @param string $attributeValue 
    129129     */ 
    130130    public function writeAttribute($attributeName, $attributeValue) 
     
    144144     * Write a full element 
    145145     * 
    146      * @param string $elementName 
    147      * @param array $attributes 
    148      * @param string $cdata 
     146     * @param string $elementName 
     147     * @param array  $attributes 
     148     * @param string $cdata 
    149149     */ 
    150150    public function writeElement($elementName, array $attributes = array(), $cdata = null) 
     
    163163     * Import another stream 
    164164     * 
    165      * @param   stubXMLStreamWriter 
     165     * @param   stubXMLStreamWriter              $writer 
    166166     * @throws  stubMethodNotSupportedException 
    167167     */ 
     
    174174     * Return the XML as a DOM 
    175175     * 
    176      * @return DOMDocument 
     176     * @return DOMDocument 
    177177     */ 
    178178    public function asDom() 
     
    186186     * Return the XML as a string 
    187187     * 
    188      * @return string 
     188     * @return string 
    189189     */ 
    190190    public function asXML()