Files
luos/workflow/engine/classes/model/BpmnBound.php

32 lines
739 B
PHP
Raw Normal View History

2013-12-02 17:36:37 -04:00
<?php
require_once 'classes/model/om/BaseBpmnBound.php';
/**
* Skeleton subclass for representing a row from the 'BPMN_BOUND' 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 BpmnBound extends BaseBpmnBound
{
public static function findOneBy($field, $value)
{
$c = new Criteria('workflow');
2013-12-02 17:36:37 -04:00
$c->add($field, $value, CRITERIA::EQUAL );
$rs = ContentPeer::doSelectRS($c);
//$rs->setFetchmode(ResultSet::FETCHMODE_ASSOC);
$rs->next();
return $rs->getRow();
}
2013-12-02 17:36:37 -04:00
} // BpmnBound