public function tryDelete($id = null)
    {
        if (!is_null($id)) {
            $this->tryLoad($id);
        }
        if ($this->loaded()) {
            $this->delete();
        }

        return $this;
    }
public function tryDelete($id = null)
    {
        if (!is_null($id)) {
            $this->tryLoad($id);
        }
        if ($this->loaded()) {
            $this->delete();
        }

        return $this;
    }
public function tryDelete ( $ id = null ) { if ( ! is_null ( $ id ) ) { $ this -> tryLoad ( $ id ) ; } if ( $ this -> loaded ( ) ) { $ this -> delete ( ) ; } return $ this ; }
Tries to delete record, but does nothing if not found
Tries to delete record but does nothing if not found