public function fetchAll()
	{
		if ($this->result === null) {
			$this->query();
		}
		$machine = $this->machine;

		$id_keys = $this->machine->describeId();

		if (count($id_keys) == 1) {
			$list = array();
			while(($properties = $this->result->fetch(\PDO::FETCH_ASSOC))) {
				$item = $machine->hotRef($machine->decodeProperties($properties));
				$list[$item->id] = $item;
			}
			return $list;
		} else {
			return array_map(function($properties) use ($machine) {
					return $machine->hotRef($machine->decodeProperties($properties));
				}, $this->result->fetchAll(\PDO::FETCH_ASSOC));
		}
	}
public function fetchAll()
	{
		if ($this->result === null) {
			$this->query();
		}
		$machine = $this->machine;

		$id_keys = $this->machine->describeId();

		if (count($id_keys) == 1) {
			$list = array();
			while(($properties = $this->result->fetch(\PDO::FETCH_ASSOC))) {
				$item = $machine->hotRef($machine->decodeProperties($properties));
				$list[$item->id] = $item;
			}
			return $list;
		} else {
			return array_map(function($properties) use ($machine) {
					return $machine->hotRef($machine->decodeProperties($properties));
				}, $this->result->fetchAll(\PDO::FETCH_ASSOC));
		}
	}
public function fetchAll ( ) { if ( $ this -> result === null ) { $ this -> query ( ) ; } $ machine = $ this -> machine ; $ id_keys = $ this -> machine -> describeId ( ) ; if ( count ( $ id_keys ) == 1 ) { $ list = array ( ) ; while ( ( $ properties = $ this -> result -> fetch ( \ PDO :: FETCH_ASSOC ) ) ) { $ item = $ machine -> hotRef ( $ machine -> decodeProperties ( $ properties ) ) ; $ list [ $ item -> id ] = $ item ; } return $ list ; } else { return array_map ( function ( $ properties ) use ( $ machine ) { return $ machine -> hotRef ( $ machine -> decodeProperties ( $ properties ) ) ; } , $ this -> result -> fetchAll ( \ PDO :: FETCH_ASSOC ) ) ; } }
Returns an array of all items in the listing.

This decodes properties.
Returns an array of all items in the listing .