HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
JobLog.php
Go to the documentation of this file.
1 <?php
2 
3 class JobLog extends JobsLogs implements JobInterface
4 {
13  public static function model($className = __CLASS__)
14  {
15  return parent::model($className);
16  }
17 
21  public function beforeSave()
22  {
23  $this->finish_message = json_encode($this->finish_message);
24 
25  return parent::beforeSave();
26  }
27 
31  protected function afterFind()
32  {
33  $this->finish_message = json_decode($this->finish_message, true);
35  }
36 }