Ejemplo n.º 1
0
 /**
  * Test getOptions
  *
  * @return void
  */
 public function testGetOptions()
 {
     $options = RHelperCurrency::getCurrencyOptions();
     $this->assertTrue(is_array($options) && count($options));
 }
Ejemplo n.º 2
0
 /**
  * Method to get the options to populate list
  *
  * @return  array  The field option objects.
  *
  * @since   1.0
  */
 protected function getOptions()
 {
     $options = array_merge(parent::getOptions(), RHelperCurrency::getCurrencyOptions());
     return $options;
 }