public function validate()
    {
        if (is_numeric($this->categoryId) && $this->categoryId >= 1
                && is_numeric($this->forumId) && $this->forumId >= 1
                && is_numeric($this->threadId) && $this->threadId >= 1
                && !empty($this->threadSlug)) {
            return true;
        }
        return false;
    }
public function validate()
    {
        if (is_numeric($this->categoryId) && $this->categoryId >= 1
                && is_numeric($this->forumId) && $this->forumId >= 1
                && is_numeric($this->threadId) && $this->threadId >= 1
                && !empty($this->threadSlug)) {
            return true;
        }
        return false;
    }
public function validate ( ) { if ( is_numeric ( $ this -> categoryId ) && $ this -> categoryId >= 1 && is_numeric ( $ this -> forumId ) && $ this -> forumId >= 1 && is_numeric ( $ this -> threadId ) && $ this -> threadId >= 1 && ! empty ( $ this -> threadSlug ) ) { return true ; } return false ; }
Validates parameters.
@return bool
Validates parameters .