extranet/library/Application/Model/MonitoringGiants.php
2014-03-14 10:42:09 +00:00

21 lines
464 B
PHP

<?php
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
class Application_Model_MonitoringGiants extends Zend_Db_Table_Abstract
{
protected $_name = 'monitoring_giants';
public function getRetrive($date_st)
{
$sql = $this->select()
->where('ProviderOrderId = ?', (int)$date_st)
->limit(1);
$result = $this->getAdapter()->fetchAll($sql);
return ($result);
}
}
?>