/** * Creates -and adds- \Module\HTMLForm\Element\Option elements from a given Map * The index of the entry will be used as the value, while the value in the map will be used as the text * @param \System\Collection\Map The options to add. */ public function createOptionsFromMap(\System\Collection\Map $options) { $this->createOptionsFromArray($options->getArrayCopy()); }
/** * Stores the given map constants to the APC * @param mixed The index to be used * @param \System\Collection\Map The constants to store. Use as key => value */ public final function storeConstants($key, \System\Collection\Map $constants) { $this->storeConstantsArray($key, $constants->getArrayCopy()); }