public function fetchResultsRow($row = [], $fetchMethod = self::FETCH_ALL, $fetchMode = self::FETCH_MODE_ASSOC, $colIndex = 0) {
        if (in_array($fetchMethod, [static::FETCH_ALL, static::FETCH_ROW])) {
            $this->processResultRow($row);
            return $fetchMode === static::FETCH_MODE_OBJECT ? (object)$row : $row;
        } elseif (in_array($fetchMethod, [static::FETCH_COLUMN, static::FETCH_FIELD]) && $colIndex < count($row)) {
            $rowIndexed = array_values($row);
            $this->processResultRow($rowIndexed[$colIndex]);
            return $rowIndexed[$colIndex];
        }
        return null;
    }
public function fetchResultsRow($row = [], $fetchMethod = self::FETCH_ALL, $fetchMode = self::FETCH_MODE_ASSOC, $colIndex = 0) {
        if (in_array($fetchMethod, [static::FETCH_ALL, static::FETCH_ROW])) {
            $this->processResultRow($row);
            return $fetchMode === static::FETCH_MODE_OBJECT ? (object)$row : $row;
        } elseif (in_array($fetchMethod, [static::FETCH_COLUMN, static::FETCH_FIELD]) && $colIndex < count($row)) {
            $rowIndexed = array_values($row);
            $this->processResultRow($rowIndexed[$colIndex]);
            return $rowIndexed[$colIndex];
        }
        return null;
    }
public function fetchResultsRow ( $ row = [ ] , $ fetchMethod = self :: FETCH_ALL , $ fetchMode = self :: FETCH_MODE_ASSOC , $ colIndex = 0 ) { if ( in_array ( $ fetchMethod , [ static :: FETCH_ALL , static :: FETCH_ROW ] ) ) { $ this -> processResultRow ( $ row ) ; return $ fetchMode === static :: FETCH_MODE_OBJECT ? ( object ) $ row : $ row ; } elseif ( in_array ( $ fetchMethod , [ static :: FETCH_COLUMN , static :: FETCH_FIELD ] ) && $ colIndex < count ( $ row ) ) { $ rowIndexed = array_values ( $ row ) ; $ this -> processResultRow ( $ rowIndexed [ $ colIndex ] ) ; return $ rowIndexed [ $ colIndex ] ; } return null ; }
Fetch results row
@param array  $row
@param string $fetchMethod
@param string $fetchMode
@param int    $colIndex
@return array|null|object
@internal
Fetch results row