2009-11-24 19:20:36 -08:00
|
|
|
<?php defined('SYSPATH') or die('No direct script access.');
|
2009-03-17 18:56:01 +00:00
|
|
|
/**
|
2009-11-24 19:20:36 -08:00
|
|
|
* Database expression.
|
|
|
|
|
*
|
|
|
|
|
* $Id: Database_Expression.php 4679 2009-11-10 01:45:52Z isaiah $
|
|
|
|
|
*
|
|
|
|
|
* @package Kohana
|
2009-03-17 18:56:01 +00:00
|
|
|
* @author Kohana Team
|
2009-11-24 19:20:36 -08:00
|
|
|
* @copyright (c) 2008-2009 Kohana Team
|
|
|
|
|
* @license http://kohanaphp.com/license
|
2009-03-17 18:56:01 +00:00
|
|
|
*/
|
|
|
|
|
class Database_Expression_Core {
|
|
|
|
|
|
|
|
|
|
protected $expression;
|
|
|
|
|
|
|
|
|
|
public function __construct($expression)
|
|
|
|
|
{
|
|
|
|
|
$this->expression = $expression;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function __toString()
|
|
|
|
|
{
|
2009-11-24 19:20:36 -08:00
|
|
|
return $this->expression;
|
2009-03-17 18:56:01 +00:00
|
|
|
}
|
2009-11-24 19:20:36 -08:00
|
|
|
}
|