Daniel Camargo 3587009ff9 Driver onboarding #2969:
- Added email notification
- Added Logs
- Fixed the library path (place them at cockipt)
2014-05-20 10:22:09 -03:00

20 lines
402 B
PHP

<?php
class Cockpit_Driver_Document extends Cana_Table {
public function __construct($id = null) {
parent::__construct();
$this
->table('driver_document')
->idVar('id_driver_document')
->load($id);
}
public function all(){
return Cockpit_Driver_Document::q( 'SELECT * FROM driver_document ORDER BY `order` ASC' );
}
public function exports(){
return $this->properties();
}
}