Location

Stores the file name and line number of a XML file

author

Andreas Aderhold andi@binarycloud.com

copyright

2001,2002 THYRELL. All rights reserved

version

$Id: 3ef0b6b38ae8104eb45d5a2b654cadf497da7085 $

access

public

package

phing.parser

Methods

__toString

__toString() 

Constructs the location consisting of a file name and line number

Location( $fileName = null,  $lineNumber = null,  $columnNumber = null) 
access

public

Arguments

$fileName

$lineNumber

$columnNumber

Returns the file name, line number and a trailing space.

toString() : string

An error message can be appended easily. For unknown locations, returns empty string.

access

public

Response

string

the string representation of this Location object

Properties

fileName

fileName : 

Type(s)

lineNumber

lineNumber : 

Type(s)

columnNumber

columnNumber : 

Type(s)