public function shutdown() { $cr = 0; $this->load->helper('printerstate'); $cr = PrinterState_powerOff(); $this->_return_cr($cr); return; }
function ZimAPI_shutdown() { // we leave a possibility to shutdown in ZimAPI helper, but I recommand you to load PrinterState directly $CI =& get_instance(); $CI->load->helper('printerstate'); return PrinterState_powerOff(); }
public function shutdown_ajax() { $this->load->helper('printerstate'); PrinterState_powerOff(); }