32 lines
726 B
PHP
Executable file
32 lines
726 B
PHP
Executable file
<?php
|
|
|
|
require_once 'om/BaseNagiosEscalation.php';
|
|
|
|
|
|
/**
|
|
* Skeleton subclass for representing a row from the 'nagios_escalation' table.
|
|
*
|
|
* Nagios Escalation
|
|
*
|
|
* This class was autogenerated by Propel on:
|
|
*
|
|
* Thu Dec 13 21:25:24 2007
|
|
*
|
|
* 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
|
|
*/
|
|
class NagiosEscalation extends BaseNagiosEscalation {
|
|
|
|
public function setEscalationPeriodByName($name) {
|
|
$timeperiod = NagiosTimeperiodPeer::getByName($name);
|
|
if(!$timeperiod)
|
|
return false;
|
|
return $timeperiod;
|
|
}
|
|
|
|
|
|
} // NagiosEscalation
|