/** * */ public function setOption($ps_option, $pm_value) { if ($this->isValidOption($ps_option)) { switch ($ps_option) { case 'prefetchAttributes': $this->opa_options[$ps_option] = array_values(ca_metadata_elements::elementCodesToIDs($pm_value)); break; default: $this->opa_options[$ps_option] = $pm_value; break; } return true; } return false; }