src/Model.php
public function undel($term)
    {
        if (
            false === $this->has_table() or
            true === $this->is_destructive
        ) {
            $this->set_error('Model '.get_class($this).' has no recoverable data');
            return false;
        }

        $term = $this->normalize_term($term);

        return $this->trash_it($term, false);
    }
public function undel($term)
    {
        if (
            false === $this->has_table() or
            true === $this->is_destructive
        ) {
            $this->set_error('Model '.get_class($this).' has no recoverable data');
            return false;
        }

        $term = $this->normalize_term($term);

        return $this->trash_it($term, false);
    }
public function undel ( $ term ) { if ( false === $ this -> has_table ( ) or true === $ this -> is_destructive ) { $ this -> set_error ( 'Model ' . get_class ( $ this ) . ' has no recoverable data' ) ; return false ; } $ term = $ this -> normalize_term ( $ term ) ; return $ this -> trash_it ( $ term , false ) ; }
Restore all deleted data

@param   mixed  $term  Data terms: int|array
@return  mixed
Restore all deleted data