Location: PHPKode > projects > MonoQL > monoql/system/Data/SQL/AbstractQueryParser.php
<?php
class AbstractQueryParser extends Object {
	
	public $originalQuery;
	protected $query;
	
	public function __construct($args) {
		if (is_array($args)) {
			$this->originalQuery = val($args, "query");
		} else {
			$this->originalQuery = $args;
		}
		$this->query = $this->originalQuery;
	}
	
	public function getQuery() {
		return $this->query;
	}
	
	public function setQuery($query) {
		$this->originalQuery = $query;
		$this->query = $this->originalQuery;
	}
	
}
?>
Return current item: MonoQL