public function enableOffline()
    {
        $this->settings['offline'] = $this->data['offline_interval'] === 'unlimited'
            ? true
            : strtotime('+'.intval($this->data['offline_value']).' '.$this->data['offline_interval']);
        $this->touch(false);
    }
public function enableOffline()
    {
        $this->settings['offline'] = $this->data['offline_interval'] === 'unlimited'
            ? true
            : strtotime('+'.intval($this->data['offline_value']).' '.$this->data['offline_interval']);
        $this->touch(false);
    }
public function enableOffline ( ) { $ this -> settings [ 'offline' ] = $ this -> data [ 'offline_interval' ] === 'unlimited' ? true : strtotime ( '+' . intval ( $ this -> data [ 'offline_value' ] ) . ' ' . $ this -> data [ 'offline_interval' ] ) ; $ this -> touch ( false ) ; }
Enables offline mode.
@since 1.0.0
Enables offline mode .