This repository has been archived on 2020-01-20. You can view files and clone it, but cannot push or open issues or pull requests.
lilac/classes/NagiosCommand.php
2011-08-18 14:54:38 +00:00

31 lines
809 B
PHP
Executable file

<?php
require_once 'om/BaseNagiosCommand.php';
/**
* Skeleton subclass for representing a row from the 'nagios_command' table.
*
* Nagios Command
*
* 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 NagiosCommand extends BaseNagiosCommand {
public function updateFromArray($source) {
if(isset($source['command_name'])) $this->setName($source['command_name']);
if(isset($source['command_desc'])) $this->setDescription($source['command_desc']);
if(isset($source['command_line'])) $this->setLine($source['command_line']);
}
} // NagiosCommand