All pastes #397569 Raw Edit

Stuff

public php v1 · immutable
·published 2007-03-16 16:07 UTC
rendered paste body
	/**	*	@access Private	*	@var Integer ID of the manual for this monitor point.	*/	private  $_intManualID;	/**	*	@access Private	*	@var Integer Counter to be used with iterator methods.	*/	private  $_intIterator;	/**	*	@access Private	*	@var String Sets ORDER BY for use with iterator methods	*/	private  $_strSortBy;	/*********************************************	*	*	MAGIC FUNCTIONS	*	*********************************************/	/**	*	*	clsNOCStatus Contructor	*	*	@param Mixed $data Can be a StatusID or an associative array of key=>values mirroring the noc.status table.	*	@access Public	*	*/	public function __construct($data="")	{		$this->_resDB = NULL;		$this->_intMonitorID = NULL;		// Pseudo-Overloaded the constructor.		if ($data != "")		{			if (is_array($data))			{				$this->setData($data);			}			else			{				$this->setName($data);				$this->Load();			}		}	} // END __constructor	/**	*	*	clsNOCStatus Decontructor	*	*	@access Public	*	*/	public function __destruct()	{		unset($this->_resDB);		unset($this->_intMonitorID);		unset($this->_strOrigin);		unset($this->_strName);		unset($this->_strDescription);		unset($this->_intTestType);----------------------------