public function currency($options = array())
    {
        $options = new AnConfig($options);

        $options->append(array(
            'name' => 'currency',
            'prompt' => true,
        ));

        $selected = $options->selected;
        unset($options->selected);
        $currencies = array_combine(self::$ISO_CURRENCY_SYMBOLS, self::$ISO_CURRENCY_SYMBOLS);

        return $this->_html->select($options->name, array('options' => $currencies, 'selected' => $selected), AnConfig::unbox($options));
    }
public function currency($options = array())
    {
        $options = new AnConfig($options);

        $options->append(array(
            'name' => 'currency',
            'prompt' => true,
        ));

        $selected = $options->selected;
        unset($options->selected);
        $currencies = array_combine(self::$ISO_CURRENCY_SYMBOLS, self::$ISO_CURRENCY_SYMBOLS);

        return $this->_html->select($options->name, array('options' => $currencies, 'selected' => $selected), AnConfig::unbox($options));
    }
public function currency ( $ options = array ( ) ) { $ options = new AnConfig ( $ options ) ; $ options -> append ( array ( 'name' => 'currency' , 'prompt' => true , ) ) ; $ selected = $ options -> selected ; unset ( $ options -> selected ) ; $ currencies = array_combine ( self :: $ ISO_CURRENCY_SYMBOLS , self :: $ ISO_CURRENCY_SYMBOLS ) ; return $ this -> _html -> select ( $ options -> name , array ( 'options' => $ currencies , 'selected' => $ selected ) , AnConfig :: unbox ( $ options ) ) ; }
Return a selection of standard currency codes.

@param array $options

@return LibBaseTemplateTag
Return a selection of standard currency codes .