| [ Index ] |
PHP Cross Reference of Limb3 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * Limb PHP Framework 4 * 5 * @link http://limb-project.com 6 * @copyright Copyright © 2004-2007 BIT(http://bit-creative.com) 7 * @license LGPL http://www.gnu.org/copyleft/lesser.html 8 */ 9 lmb_require('limb/dbal/src/criteria/lmbSQLFieldCriteria.class.php'); 10 11 /** 12 * class lmbSQLTableFieldCriteria. 13 * 14 * @package dbal 15 * @version $Id: lmbSQLTableFieldCriteria.class.php 5945 2007-06-06 08:31:43Z pachanga $ 16 */ 17 class lmbSQLTableFieldCriteria extends lmbSQLFieldCriteria 18 { 19 protected $table; 20 21 function __construct($raw_column, $value, $comparison = null) 22 { 23 @list($table, $column) = explode('.', $raw_column); 24 25 if($column === null) 26 throw new lmbException('Column must contain table name', array('column' => $raw_column)); 27 28 parent :: __construct($raw_column, $value, $comparison); 29 30 $this->table = $table; 31 } 32 33 function getTable() 34 { 35 return $this->table; 36 } 37 } 38 39 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Fri Dec 5 04:05:07 2008 | Cross-referenced by PHPXref 0.7 |