Overview

Packages

  • PHP
  • vsword
    • node
    • parser
      • addesed
    • structure
      • style

Classes

  • AlignNode
  • ArbitraryCompositeNode
  • ArbitraryNode
  • BodyCompositeNode
  • BoldStyleNode
  • BrNode
  • CompositeNode
  • DocumentCompositeNode
  • DrawingNode
  • EmptyCompositeNode
  • FontSizeStyleNode
  • HyperlinkCompositeNode
  • ItalicStyleNode
  • ListCompositeNode
  • ListItemCompositeNode
  • Node
  • PageBreakNode
  • PCompositeNode
  • PPrCompositeNode
  • RCompositeNode
  • RPrCompositeNode
  • StringNode
  • TableColCompositeNode
  • TableCompositeNode
  • TableRowCompositeNode
  • TextNode
  • UnderlineStyleNode
  • Overview
  • Package
  • Class
  • Tree

Class Node

Class Node base node class.

Node implements INode

Direct known subclasses

AlignNode, ArbitraryNode, TextNode, UnderlineStyleNode, BoldStyleNode, BrNode, CompositeNode, DrawingNode, FontSizeStyleNode, ItalicStyleNode, PageBreakNode, StringNode

Indirect known subclasses

ArbitraryCompositeNode, BodyCompositeNode, RPrCompositeNode, TableColCompositeNode, TableCompositeNode, TableRowCompositeNode, DocumentCompositeNode, EmptyCompositeNode, HyperlinkCompositeNode, ListCompositeNode, ListItemCompositeNode, PCompositeNode, PPrCompositeNode, RCompositeNode
Abstract
Package: vsword\node
Author: v.raskin
Version: 1.0.1
Located at vsword/node/Node.php
Methods summary
public CompositeNode
# getParent( )

Returns

CompositeNode

Implementation of

INode::getParent()
public string
# getName( )

Returns

string
public
# setStyleID( string $styleId )

Parameters

$styleId
string
$styleId
public
# setStyle( Style $style )

Parameters

$style
Style
$style
public
# setParent( CompositeNode $parent )

Parameters

$parent
CompositeNode
$parent

Implementation of

INode::setParent()
public
# addAttribute( string $key, string $value )

Parameters

$key
string
$key
$value
string
$value
public
# addAttributes( array $attributes )

Parameters

$attributes
array
$attributes
public array
# getAttributes( )

Returns

array
list attributes node
public string
# getAttribute( string $key )

Parameters

$key
string
$key

Returns

string
public string
# attributeToString( )

Returns

string
public
# getWord( )

Throws

Exception

Implementation of

INode::getWord()
public
# getHtml( )

Throws

Exception

Implementation of

INode::getHtml()
public string
# look( mixed $tab = '' )

This method view tree nodes

This method view tree nodes

Returns

string
public string
# __toString( )

Returns

string
Properties summary
protected array $attributes array()
#
protected Node $parent
#
protected string $styleId
#

Id style

Id style

wordx API documentation generated by ApiGen 2.8.0