src/bbn/appui/cron.php
public function get_cron($id): ?array
  {
    if ( $this->check() && ($data = $this->db->rselect($this->table, [], ['id' => $id])) ){
      $data['cfg'] = json_decode($data['cfg'], 1);
      return $data;
    }
    return null;
  }
public function get_cron($id): ?array
  {
    if ( $this->check() && ($data = $this->db->rselect($this->table, [], ['id' => $id])) ){
      $data['cfg'] = json_decode($data['cfg'], 1);
      return $data;
    }
    return null;
  }
public function get_cron ( $ id ) : ? array { if ( $ this -> check ( ) && ( $ data = $ this -> db -> rselect ( $ this -> table , [ ] , [ 'id' => $ id ] ) ) ) { $ data [ 'cfg' ] = json_decode ( $ data [ 'cfg' ] , 1 ) ; return $ data ; } return null ; }
Returns the full row as an indexed array for the given CRON ID.
@param $id
@return null|array
Returns the full row as an indexed array for the given CRON ID .