diff options
Diffstat (limited to 'system/libraries/Database_Expression.php')
| -rw-r--r-- | system/libraries/Database_Expression.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/system/libraries/Database_Expression.php b/system/libraries/Database_Expression.php new file mode 100644 index 0000000..007a0cb --- /dev/null +++ b/system/libraries/Database_Expression.php @@ -0,0 +1,23 @@ +<?php defined('SYSPATH') or die('No direct script access.'); +/** + * Database expression. + * + * @package Kohana + * @author Kohana Team + * @copyright (c) 2008-2009 Kohana Team + * @license http://kohanaphp.com/license + */ +class Database_Expression_Core { + + protected $expression; + + public function __construct($expression) + { + $this->expression = $expression; + } + + public function __toString() + { + return $this->expression; + } +} |
