public function getValues() { $stm = $this->connection->prepare('SELECT value FROM __meta__'); $stm->execute(); $rows = $stm->fetchAll(PDO::FETCH_OBJ); $values = array(); foreach ($rows as $row) { $values[] = $row->values; } return $values; }