src/Model.php
public static function getAll($dbConn = NULL)
	{
		$table = Backbone::getTable(get_called_class(), $dbConn);

		if (is_null($dbConn)) {
			$dbConn = Backbone::makeDbConn();
		}

		try {
			$query = $dbConn->prepare('SELECT * FROM ' . $table);
			$query->execute();
		} catch (PDOException $e) {
			return $e->getMessage();
		} finally {
			$dbConn = null;
		}

		if ($query->rowCount()) {
			return $query->fetchAll(DbConn::FETCH_ASSOC);
		} else {
			throw new EmptyTableException;
		}
	}
public static function getAll($dbConn = NULL)
	{
		$table = Backbone::getTable(get_called_class(), $dbConn);

		if (is_null($dbConn)) {
			$dbConn = Backbone::makeDbConn();
		}

		try {
			$query = $dbConn->prepare('SELECT * FROM ' . $table);
			$query->execute();
		} catch (PDOException $e) {
			return $e->getMessage();
		} finally {
			$dbConn = null;
		}

		if ($query->rowCount()) {
			return $query->fetchAll(DbConn::FETCH_ASSOC);
		} else {
			throw new EmptyTableException;
		}
	}
Get all the records in a database table

@return string|object