extranet/library/Application/Model/MonitoringGiants.php

21 lines
464 B
PHP
Raw Normal View History

2013-07-30 08:24:34 +00:00
<?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';
2013-09-16 15:41:31 +00:00
public function getRetrive($date_st)
{
$sql = $this->select()
->where('ProviderOrderId = ?', (int)$date_st)
->limit(1);
$result = $this->getAdapter()->fetchAll($sql);
return ($result);
}
2013-07-30 08:24:34 +00:00
}
2013-09-16 15:41:31 +00:00
?>