summaryrefslogtreecommitdiff
path: root/kohana/libraries/Database_Expression.php
blob: 3a8427cacba653a547c4aa5f5ae4d2d1d1505482 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
 * Database expression class to allow for explicit joins and where expressions.
 *
 * $Id$
 *
 * @package    Core
 * @author     Kohana Team
 * @copyright  (c) 2007-2009 Kohana Team
 * @license    http://kohanaphp.com/license.html
 */
class Database_Expression_Core {

	protected $expression;

	public function __construct($expression)
	{
		$this->expression = $expression;
	}

	public function __toString()
	{
		return (string) $this->expression;
	}

} // End Database Expr Class