phing-parser
[ class tree: phing-parser ] [ index: phing-parser ] [ all elements ]

Class: Location

Source Location: /parser/Location.php

Class Overview


Stores the file name and line number of a XML file


Author(s):

Version:

  • $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $

Copyright:

  • © 2001,2002 THYRELL. All rights reserved

Methods



Class Details

[line 32]
Stores the file name and line number of a XML file



Tags:

author:  Andreas Aderhold <andi@binarycloud.com>
version:  $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $
copyright:  © 2001,2002 THYRELL. All rights reserved
access:  public


[ Top ]


Class Methods


constructor Location [line 46]

Location Location( [string $fileName = null], [integer $lineNumber = null], [integer $columnNumber = null])

Constructs the location consisting of a file name and line number



Tags:

access:  public


Parameters:

string   $fileName   the filename
integer   $lineNumber   the line number
integer   $columnNumber   the column number

[ Top ]

method toString [line 61]

string toString( )

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

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




Tags:

return:  the string representation of this Location object
access:  public


[ Top ]

method __toString [line 73]

void __toString( )



[ Top ]


Documentation generated on Mon, 19 Oct 2009 10:51:13 +0200 by phpDocumentor 1.4.3