2012-06-29 14:47:18 -07:00

17 lines
320 B
PHP

<?php
class Crunchbutton_Extra extends Cana_Table {
public function exports() {
$out = $this->properties();
$out['price'] = number_format($out['price'],2);
return $out;
}
public function __construct($id = null) {
parent::__construct();
$this
->table('extra')
->idVar('id_extra')
->load($id);
}
}