return $this;
} /**
* Tests query to determine if expressions or aliases columns exist.
*
* @return boolean
*/
public function isReadOnly() { $readOnly = false;
$fields =
$this->
getPart(Zend_Db_Table_Select::COLUMNS
);
$cols =
$this->_info
[Zend_Db_Table_Abstract::COLS
];
if (!
count($fields)) { return $readOnly;
} foreach ($fields as $columnEntry) { $column =
$columnEntry[1
];
$alias =
$columnEntry[2
];
if ($alias !== null
) {