Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Whitespace

  • Loading branch information...
commit b69460d5fc464d03e69da8804a8a3aee519b8906 1 parent ffee5f0
@vrana authored
Showing with 22 additions and 0 deletions.
  1. +4 −0 NotORM.php
  2. +14 −0 NotORM/Cache.php
  3. +4 −0 NotORM/Structure.php
View
4 NotORM.php
@@ -13,6 +13,8 @@
include_once dirname(__FILE__) . "/NotORM/MultiResult.php";
include_once dirname(__FILE__) . "/NotORM/Row.php";
+
+
// friend visibility emulation
abstract class NotORM_Abstract {
protected $connection, $structure, $cache;
@@ -29,6 +31,8 @@ protected function access($key, $delete = false) {
}
+
+
/** Database representation
* @property-write mixed $debug = false Enable debuging queries, true for fwrite(STDERR, $query), callback($query, $parameters) otherwise
* @property-write bool $freeze = false Disable persistence
View
14 NotORM/Cache.php
@@ -19,6 +19,8 @@ function save($key, $data);
}
+
+
/** Cache using $_SESSION["NotORM"]
*/
class NotORM_Cache_Session implements NotORM_Cache {
@@ -36,6 +38,8 @@ function save($key, $data) {
}
+
+
/** Cache using file
*/
class NotORM_Cache_File implements NotORM_Cache {
@@ -62,6 +66,8 @@ function save($key, $data) {
}
+
+
/** Cache using PHP include
*/
class NotORM_Cache_Include implements NotORM_Cache {
@@ -91,6 +97,8 @@ function save($key, $data) {
}
+
+
/** Cache storing data to the "notorm" table in database
*/
class NotORM_Cache_Database implements NotORM_Cache {
@@ -129,8 +137,12 @@ function save($key, $data) {
}
+
+
// eAccelerator - user cache is obsoleted
+
+
/** Cache using "NotORM." prefix in Memcache
*/
class NotORM_Cache_Memcache implements NotORM_Cache {
@@ -154,6 +166,8 @@ function save($key, $data) {
}
+
+
/** Cache using "NotORM." prefix in APC
*/
class NotORM_Cache_APC implements NotORM_Cache {
View
4 NotORM/Structure.php
@@ -40,6 +40,8 @@ function getReferencedTable($name, $table);
}
+
+
/** Structure described by some rules
*/
class NotORM_Structure_Convention implements NotORM_Structure {
@@ -81,6 +83,8 @@ function getReferencedTable($name, $table) {
}
+
+
/** Structure reading meta-informations from the database
*/
class NotORM_Structure_Discovery implements NotORM_Structure {
Please sign in to comment.
Something went wrong with that request. Please try again.