Class: dataExceptionFileLine

Attributes:
Inherits:
Implements:

Contents:

Introduction

Represents a line in a file where an error has occurred

Meta Data

authorBashkim Isai
packageException

Constants

There are no constants defined for this class.

Properties

Methods

Also See

Class Syntax

In file D:\oblib-core\php\oblib\dataException\dataExceptionFileLine.class.php between lines 50 and 68.

<?php
 
    
/**
     * Represents a line in a file where an error has occurred
     *
     * @author    Bashkim Isai
     * @package    Exception
     * @see        Class [Exception]
     * @see        Class [dataObject]
     */

    
class dataExceptionFileLine extends dataObject
    
{
        
        
/**
         * Stores the line number and the contents of that line for later XSL styling
         * 
         * @see        Class [dataException]
         * @see        Class [Exception]
         * @return    Void
         */
        
        
function __construct ($intLineNumber$strLineContent)
        {
            
parent::__construct ('ExceptionFileLine');
            
            
$this->___Push (new dataString ('LineNumber'$intLineNumber));
            
$this->___Push (new dataString ('LineContent'rtrim ($strLineContent)));
        }
    }

?>