FIT
[ class tree: FIT ] [ index: FIT ] [ all elements ]

Class: Testing_FIT_Node

Source Location: /Testing_FIT-0.2.2/Node.php

Class Overview


FIT Parser Node Iterator


Author(s):

Version:

  • 0.2.0

Methods


Inherited Variables

Inherited Methods


Class Details

[line 20]
FIT Parser Node Iterator
  • Version: 0.2.0


[ Top ]


Method Detail

__construct (Constructor)   [line 95]

Testing_FIT_Node __construct( object $parser, int $table, [int $row = null])

initialize node

Initialize node iterator. Choose a row in case you want to iterate columns

  • Access: public

Parameters:

object   $parser   — 
int   $table   —  index of table
int   $row   —  index of row in table

[ Top ]

current   [line 381]

mixed current( )

Iterator interface: current
  • Return: cDate in case of column, amount of children in case of row
  • Access: public

[ Top ]

getParser   [line 547]

object getParser( )

get parser

public function for summary fixture to get parser


[ Top ]

getRowIterator   [line 114]

object getRowIterator( )

Receive a node object that allows to iterate throuch columns
  • Access: public

[ Top ]

getSummary   [line 535]

object getSummary( )

get summary parser

public function for summary fixture to get summary parser


[ Top ]

key   [line 409]

int key( )

Iterator interface: key

Receive internal pointer

  • Access: public

[ Top ]

mark   [line 309]

string mark( string $att, [string $msg = null])

Mark this node
  • Access: public

Parameters:

string   $att   —  attribute set to mark with, or null if no attributes should be added at all
string   $msg   —  additional message

[ Top ]

markError   [line 230]

bool markError( [string $msg = null])

Mark node: error
  • Return: true on success
  • Access: public

Parameters:

string   $msg   —  optional error message

[ Top ]

markException   [line 252]

bool markException( object $e)

Mark node: exception happend
  • Return: true on success
  • Access: public

Parameters:

object   $e   —  exeption

[ Top ]

markIgnore   [line 266]

bool markIgnore( object $node)

Mark node: ignored
  • Return: true on success
  • Access: public

Parameters:

object   $node   — 

[ Top ]

markInfo   [line 279]

bool markInfo( [string $msg = null])

Mark node: info
  • Return: true on success
  • Access: public

Parameters:

string   $msg   —  optional error message

[ Top ]

markLabel   [line 296]

bool markLabel( [string $msg = null])

Mark node: label
  • Return: true on success
  • Access: public

Parameters:

string   $msg   —  optional error message

[ Top ]

markRight   [line 199]

bool markRight( )

Mark node: right
  • Return: true on success
  • Access: public

[ Top ]

markWrong   [line 211]

bool markWrong( [mixed $actual = null])

Mark node: wrong
  • Return: true on success
  • Access: public

Parameters:

mixed   $actual   —  value

[ Top ]

next   [line 398]

void next( )

Iterator interface: next

Move pointer to next entry

  • Access: public

[ Top ]

rewind   [line 443]

void rewind( )

Iterator interface: rewind

Reset pointer

  • Access: public

[ Top ]

valid   [line 420]

void valid( )

Iterator interface: valid

Check whether current pointer is still in range

  • Access: public

[ Top ]

__get   [line 136]

mixed __get( string $name)

magic getter function

Simple access to "cData", "attributes" and "tag" and node position

  • Access: public

Parameters:

string   $name   —  of property

[ Top ]

__set   [line 178]

void __set( string $name, mixed $value)

magic setter function

Simple access to "cData", "attributes" and "tag"

  • Access: public

Parameters:

string   $name   —  of property
mixed   $value   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:09:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.