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

17 lines
341 B
PHP

<?php
class Crunchbutton_Substitution 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('substitution')
->idVar('id_substitution')
->load($id);
}
}