use CoreFramework\Criteria\Local\LocalSearchCriteria;
use CoreFramework\Criteria\Local\LocalUpdateCriteria;
use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Database\Frontend\DatabaseWrapper;
use CoreFramework\Database\Backend\BaseDatabaseBackend;
use CoreFramework\Request\Requestable;
use CoreFramework\Result\Search\SearchableResult;
use CoreFramework\Result\Update\UpdateableResult;
-use CoreFramework\Wrapper\Database\DatabaseWrapper;
// Import SPL stuff
use \SeekableIterator;
*/
public function next () {
// Default is not valid
- $nextValid = FALSE;
+ $nextValid = false;
// Is the result valid?
if ($this->valid()) {
// Next entry found, so count one up and cache it
$this->currentPos++;
$this->currentRow = $this->resultArray[BaseDatabaseBackend::RESULT_INDEX_ROWS][$this->currentPos];
- $nextValid = TRUE;
+ $nextValid = true;
} // END - if
// Return the result
*/
public function valid () {
// By default nothing is valid
- $isValid = FALSE;
+ $isValid = false;
// Debug message
//*NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] this->currentPos=' . $this->currentPos);
// Check if all is fine ...
if (($this->ifStatusIsOkay()) && (isset($this->resultArray[BaseDatabaseBackend::RESULT_INDEX_ROWS][($this->currentPos + 1)])) && (isset($this->resultArray[BaseDatabaseBackend::RESULT_INDEX_ROWS][0]))) {
// All fine!
- $isValid = TRUE;
+ $isValid = true;
} // END - if
// Return the result
*/
public function find ($key) {
// By default nothing is found
- $found = FALSE;
+ $found = false;
// Rewind the pointer
$this->rewind();
// Is the element there?
if (isset($currentEntry[$key])) {
// Okay, found!
- $found = TRUE;
+ $found = true;
// So "cache" it
$this->foundValue = $currentEntry[$key];