PHP Classes

File: DATA/NotImplemented.php

Recommend this page to a friend!
  Classes of Martin Alterisio   DATA   DATA/NotImplemented.php   Download  
File: DATA/NotImplemented.php
Role: Class source
Content type: text/plain
Description: An exception thrown when a feature hasn't been implemented yet.
Class: DATA
Access data stored in MySQL tables like arrays
Author: By
Last change: v0.8 - new exception hierarchy
+ anonymous access
Date: 17 years ago
Size: 474 bytes
 

Contents

Class file image Download
<?php
/**
 * @package DATA
 */

/**
 * An exception thrown when a feature hasn't been
 * implemented yet.
 */
class DATA_NotImplemented extends DATA_Exception {
   
/**
     * Default constructor.
     * @param string $feature A string representation of the feature
     * which still hasn't been implemented.
     */
   
function __construct($feature) {
       
parent::__construct("$feature is not yet implemented.");
    }
}
?>