Added linework export with progress bar
This commit is contained in:
17
application/WorkflowExport/WorkflowExport.php
Normal file
17
application/WorkflowExport/WorkflowExport.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
class WorkflowExport extends mfBaseModel {
|
||||
|
||||
public function loadByUid($uid) {
|
||||
if(!$uid) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$uid = $this->db->escape($uid);
|
||||
|
||||
$res = $this->db->select("WorkflowExport", "*", "uid='$uid' ORDER BY id DESC LIMIT 1");
|
||||
if($this->db->num_rows($res)) {
|
||||
$this->load($this->db->fetch_object($res));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user