src/Kisma/Core/Utility/Sql.php
public static function findAll( $sql, $parameters = null, $connection = null, $fetchMode = \PDO::FETCH_ASSOC )
    {
        if ( false === ( $_reader = self::query( $sql, $parameters, $connection, $fetchMode ) ) )
        {
            return null;
        }

        return $_reader->fetchAll();
    }
public static function findAll( $sql, $parameters = null, $connection = null, $fetchMode = \PDO::FETCH_ASSOC )
    {
        if ( false === ( $_reader = self::query( $sql, $parameters, $connection, $fetchMode ) ) )
        {
            return null;
        }

        return $_reader->fetchAll();
    }
public static function findAll ( $ sql , $ parameters = null , $ connection = null , $ fetchMode = \ PDO :: FETCH_ASSOC ) { if ( false === ( $ _reader = self :: query ( $ sql , $ parameters , $ connection , $ fetchMode ) ) ) { return null ; } return $ _reader -> fetchAll ( ) ; }
Executes the given sql statement and returns all results

@param string $sql
@param array  $parameters
@param \PDO   $connection
@param int    $fetchMode

@return array|bool
Executes the given sql statement and returns all results