mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Removed a few redundant TODOs in code.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8710 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bbe95e94ff
commit
f3c3adc5d4
4 changed files with 35 additions and 47 deletions
|
|
@ -540,7 +540,6 @@
|
||||||
function getDeleteSql($query, $with_values = true){
|
function getDeleteSql($query, $with_values = true){
|
||||||
$sql = 'DELETE ';
|
$sql = 'DELETE ';
|
||||||
|
|
||||||
// TODO Add support for deleting based on alias, for both simple FROM and multi table join FROM clause
|
|
||||||
$tables = $query->getTables();
|
$tables = $query->getTables();
|
||||||
|
|
||||||
$sql .= $tables[0]->getAlias();
|
$sql .= $tables[0]->getAlias();
|
||||||
|
|
|
||||||
|
|
@ -626,7 +626,6 @@
|
||||||
* to get a specific page list easily in select statement,\n
|
* to get a specific page list easily in select statement,\n
|
||||||
* a method, navigation, is used
|
* a method, navigation, is used
|
||||||
**/
|
**/
|
||||||
// TODO Rewrite with Query object as input
|
|
||||||
function _executeSelectAct($queryObject){
|
function _executeSelectAct($queryObject){
|
||||||
$query = $this->getSelectSql($queryObject);
|
$query = $this->getSelectSql($queryObject);
|
||||||
if(is_a($query, 'Object')) return;
|
if(is_a($query, 'Object')) return;
|
||||||
|
|
|
||||||
|
|
@ -159,15 +159,6 @@
|
||||||
* object if a row returned \n
|
* object if a row returned \n
|
||||||
* return\n
|
* return\n
|
||||||
**/
|
**/
|
||||||
|
|
||||||
// TODO Support array arguments in sql server
|
|
||||||
/*
|
|
||||||
* $query_emp="select name from employee where id in (?,?,?)";
|
|
||||||
$params_emp= Array(1,2,3);
|
|
||||||
$res_emp = sqlsrv_query($conn, $query_emp, $params_emp);
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
function _query($query) {
|
function _query($query) {
|
||||||
if($this->is_connected == false || !$query) return;
|
if($this->is_connected == false || !$query) return;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,6 @@
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
parent::tearDown();
|
parent::tearDown();
|
||||||
// TODO Delete inserted value
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue