/** * Return a selection of the object values as hash array. * * The parameter is of the list family defined in tx_div2007. (object, array, string) * The return value is an of the hash type defind in tx_div2007. * * @param mixed string, array or object of the tx_div2007 list family * @param string a string of characters to split the keys string * @return array selected values associative array * @see tx_div2007:toListArray(); */ public function selectHashArray($keys, $splitCharacters = ',;:\\s') { foreach (tx_div2007::toListArray($keys, $splitCharacters) as $key) { $return[$key] = $this->get($key); } return (array) $return; }