This repository has been archived on 2026-11-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
thetool/application/WorkflowExport/WorkflowExport.php
T

17 lines
366 B
PHP

<?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));
}
}
}