PHP Classes

File: DATA/SQLTypeFactory.php

Recommend this page to a friend!
  Classes of Martin Alterisio  >  DATA  >  DATA/SQLTypeFactory.php  >  Download  
File: DATA/SQLTypeFactory.php
Role: Class source
Content type: text/plain
Description: Abstract factory for SQL types representations.
Class: DATA
Access data stored in MySQL tables like arrays
Author: By
Last change: + anonymous access
Date: 9 years ago
Size: 468 bytes


Class file image Download
 * @package DATA

 * Abstract factory for SQL types representations.
 * A concrete factory will be provided for each database engine.
abstract class DATA_SQLTypeFactory {
     * Inboxes a value.
     * Throws {@link DATA_SQLTypeConstraintFailed}.
     * @param mixed $value The php native value.
     * @return DATA_SQLType Inboxed value.
abstract public function inbox($value);