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

34 lines
770 B
PHP
Raw Normal View History

2011-10-28 12:20:45 -04:00
<?php
require_once 'classes/model/om/BaseDashlet.php';
/**
* Skeleton subclass for representing a row from the 'DASHLET' table.
*
2011-10-31 15:14:01 -04:00
*
2011-10-28 12:20:45 -04:00
*
* 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
*/
2012-10-20 17:19:10 -04:00
class Dashlet extends BaseDashlet
{
public function load($dasUid)
{
try {
$dashlet = DashletPeer::retrieveByPK($dasUid);
if (!is_null($dashlet)) {
return $dashlet->toArray(BasePeer::TYPE_FIELDNAME);
} else {
return null;
}
} catch (Exception $error) {
throw $error;
}
2011-10-31 15:14:01 -04:00
}
2012-10-20 17:19:10 -04:00
}
2011-10-31 15:14:01 -04:00