public function getSystemCurrencies()
  {
    $currencies = array();

    $this->Currency->all()->each(function($Currency) use (&$currencies)
    {
      array_push($currencies, array('label'=> $Currency->name . ' (' . $Currency->symbol . ')', 'value'=>$Currency->id));
    });

    return $currencies;
  }
public function getSystemCurrencies()
  {
    $currencies = array();

    $this->Currency->all()->each(function($Currency) use (&$currencies)
    {
      array_push($currencies, array('label'=> $Currency->name . ' (' . $Currency->symbol . ')', 'value'=>$Currency->id));
    });

    return $currencies;
  }
public function getSystemCurrencies ( ) { $ currencies = array ( ) ; $ this -> Currency -> all ( ) -> each ( function ( $ Currency ) use ( & $ currencies ) { array_push ( $ currencies , array ( 'label' => $ Currency -> name . ' (' . $ Currency -> symbol . ')' , 'value' => $ Currency -> id ) ) ; } ) ; return $ currencies ; }
Get system currencies

@return array
An array of arrays as follows: array( array('label'=>$name0, 'value'=>$id0), array('label'=>$name1, 'value'=>$id1),…)
Get system currencies