1
0
mirror of synced 2025-01-29 19:41:45 +03:00

added cache constants

This commit is contained in:
zYne 2007-05-24 16:13:36 +00:00
parent 4ceb4ac5eb
commit 324188a6f4

View File

@ -255,40 +255,15 @@ final class Doctrine
*/ */
const FETCH_ARRAY = 3; const FETCH_ARRAY = 3;
/**
* ACCESSOR CONSTANTS
*/
/**
* constant for no accessors
*/
const ACCESSOR_NONE = 0;
/**
* constant for get accessors
*/
const ACCESSOR_GET = 1;
/**
* constant for set accessors
*/
const ACCESSOR_SET = 2;
/**
* constant for both accessors get and set
*/
const ACCESSOR_BOTH = 3;
/** /**
* PORTABILITY CONSTANTS * PORTABILITY CONSTANTS
*/ */
/** /**
* Portability: turn off all portability features. * Portability: turn off all portability features.
* @see Doctrine::ATTR_PORTABILITY * @see Doctrine::ATTR_PORTABILITY
*/ */
const PORTABILITY_NONE = 0; const PORTABILITY_NONE = 0;
/** /**
* Portability: convert names of tables and fields to case defined in the * Portability: convert names of tables and fields to case defined in the
* "field_case" option when using the query*(), fetch*() methods. * "field_case" option when using the query*(), fetch*() methods.
@ -301,7 +276,6 @@ final class Doctrine
* @see Doctrine::ATTR_PORTABILITY * @see Doctrine::ATTR_PORTABILITY
*/ */
const PORTABILITY_RTRIM = 2; const PORTABILITY_RTRIM = 2;
/** /**
* Portability: force reporting the number of rows deleted. * Portability: force reporting the number of rows deleted.
* @see Doctrine::ATTR_PORTABILITY * @see Doctrine::ATTR_PORTABILITY
@ -379,6 +353,14 @@ final class Doctrine
* constant for composite identifier * constant for composite identifier
*/ */
const IDENTIFIER_COMPOSITE = 4; const IDENTIFIER_COMPOSITE = 4;
/**
* CACHING CONSTANTS
*/
const CACHE_NONE = 0;
const CACHE_PARSER = 1;
const CACHE_RESULTSET = 2;
/** /**
* constructor * constructor
*/ */