FRED™  3.0
FRED™: Framework for Rapid and Easy Development
Sql.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Rsi\Fred\Worker\Job;
4 
5 class Sql extends \Rsi\Fred\Worker\Job{
6 
7  protected $_sql = null;
8  protected $_args = null;
9 
10  public function execute($timer_id){
11  $this->_worker->component('db')->execute($this->_sql,$this->_args);
12  }
13 
14 }
Rsi\Fred\Worker\Job\Sql
Definition: Sql.php:5
Rsi\Fred\Worker\Job\Sql\$_args
$_args
Definition: Sql.php:8
Rsi\Fred\Worker\Job\Sql\$_sql
$_sql
Definition: Sql.php:7
Rsi\Fred\Worker\Job\Sql\execute
execute($timer_id)
Definition: Sql.php:10
Rsi\Fred\Worker\Job
Definition: File.php:3