code: public function all()
      {
          $_filters = $this->filters; // store filters
  
          if (!$this->allowDeleted) {
              $this->filters = array("`" . $this->table . "`.deleted = 0"); // reset them
          } else {
              $this->filters = array();
          }
  
          $values = $this->values();
  
          $this->filters = $_filters; // restore filters
  
          return $values;
      }
docs: Get all objects