34 lines
774 B
PHP
34 lines
774 B
PHP
<?php
|
|
|
|
require_once 'classes/model/om/BaseBpmnDiagram.php';
|
|
|
|
|
|
/**
|
|
* Skeleton subclass for representing a row from the 'BPMN_DIAGRAM' table.
|
|
*
|
|
*
|
|
*
|
|
* You should add additional methods to this class to meet the
|
|
* application requirements. This class will only be generated as
|
|
* long as it does not already exist in the output directory.
|
|
*
|
|
* @package classes.model
|
|
*/
|
|
class BpmnDiagram extends BaseBpmnDiagram
|
|
{
|
|
public static function findAllByProUid($prjUid)
|
|
{
|
|
$c = new Criteria("workflow");
|
|
$c->add(BpmnDiagramPeer::PRJ_UID, $prjUid);
|
|
|
|
return BpmnDiagramPeer::doSelect($c);
|
|
}
|
|
|
|
// Overrides
|
|
|
|
public function toArray($type = BasePeer::TYPE_FIELDNAME)
|
|
{
|
|
return parent::toArray($type);
|
|
}
|
|
} // BpmnDiagram
|