pdoMap
[ class tree: pdoMap ] [ index: pdoMap ] [ all elements ]

Procedural File: autoload.php

Source Location: /autoload.php



Page Details:

PDO MAP AUTOLOAD & CONFIG



Tags:

author:  Ioan CHIRIAC
version:  1.0.0
copyright:  Copyright (c) 2008
license:  LGPL


Includes:

require_once(PDOMAP_DIR.'connection.class.php') [line 17]
LOADS PDO HANDLER CONNECTOR

require_once(PDOMAP_DIR.'adapter.class.php') [line 23]
LOADS PDO TABLE HANDLER

require_once(PDOMAP_DIR.'item.class.php') [line 25]
LOADS PDO ROW HANDLER

require_once(PDOMAP_DIR.'schema.class.php') [line 19]
LOADS PDO SCHEMA HANDLER

require_once(PDOMAP_DIR.'field.class.php') [line 21]
LOADS PDO FIELDS REPRESENTATION






PDOMAP_CACHE_DIR [line 15]

PDOMAP_CACHE_DIR = PDOMAP_DIR.'cache/'
DEFINE DIRECTORY TO STORE GENERATED CLASSES


[ Top ]



PDOMAP_DIR [line 13]

PDOMAP_DIR = substr(__FILE__,0,strlen(__FILE__)-12)
DEFINE PDO MAP ROOT DIRECTION / AUTO GENERATED


[ Top ]




addConnectionString [line 38]

PDO addConnectionString( string $key, string $connectionString, string $user, string $password)

Adding a new connexion string



Tags:

return:  Returns the PDO object if succeed or false overthis


Parameters

string   $key   Connection key identifier
string   $connectionString   Connection string for PDO
string   $user   User name used for connection
string   $password   Password used for connection
[ Top ]



getConnection [line 52]

PDO getConnection( [string $key = NULL])

Getting a PDO connector



Tags:

return:  The pdo connector if found or false


Parameters

string   $key   Connection key identifier - or last connection registred
[ Top ]



loadMap [line 69]

integer loadMap( string $file)

CREATE A MAPPING OBJECT



Tags:

return:  Created key index


Parameters

string   $file   Name of XSD file to handle
[ Top ]



Documentation generated on Thu, 10 Apr 2008 11:50:58 +0200 by phpDocumentor 1.4.1