Determine if a necessary parameter is set.
public requireParameter ( $parameters, $type, $key ) |
/** * Compose the list key. */ private function _setListId() { foreach (array('host', 'port', 'user') as $key) { $this->_cache->requireParameter($this->_parameters, 'list', $key); } ksort($this->_parameters); $this->_list_id = md5(serialize($this->_parameters)); }