PHP Classes

File: DATA/ReadOnly.php

Recommend this page to a friend!
  Classes of Martin Alterisio   DATA   DATA/ReadOnly.php   Download  
File: DATA/ReadOnly.php
Role: Class source
Content type: text/plain
Description: An exception thrown when access to the database through an object is read only.
Class: DATA
Access data stored in MySQL tables like arrays
Author: By
Last change: v0.8 - new exception hierarchy
+ anonymous access
Date: 16 years ago
Size: 331 bytes
 

Contents

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

/**
 * An exception thrown when access to the database through
 * an object is read only.
 */
class DATA_ReadOnly extends DATA_Exception {
   
/**
     * Default constructor.
     */
   
function __construct() {
       
parent::__construct("This access is read only.");
    }
}
?>