21 lines
464 B
PHP
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);
|
|
}
|
|
|
|
}
|
|
?>
|