*/
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;
// Check if
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];