public function getRowArray(int $n = 0)
	{
		$result = $this->getResultArray();
		if (empty($result))
		{
			return null;
		}

		if ($n !== $this->currentRow && isset($result[$n]))
		{
			$this->currentRow = $n;
		}

		return $result[$this->currentRow];
	}
public function getRowArray(int $n = 0)
	{
		$result = $this->getResultArray();
		if (empty($result))
		{
			return null;
		}

		if ($n !== $this->currentRow && isset($result[$n]))
		{
			$this->currentRow = $n;
		}

		return $result[$this->currentRow];
	}
public function getRowArray ( int $ n = 0 ) { $ result = $ this -> getResultArray ( ) ; if ( empty ( $ result ) ) { return null ; } if ( $ n !== $ this -> currentRow && isset ( $ result [ $ n ] ) ) { $ this -> currentRow = $ n ; } return $ result [ $ this -> currentRow ] ; }
Returns a single row from the results as an array.

If row doesn't exist, returns null.

@param integer $n

@return mixed
Returns a single row from the results as an array .