public function serialize() { return serialize(array('search' => $this->_search, 'mask' => $this->_mask, 'completed' => $this->_completed, 'due' => $this->_due, 'tags' => $this->_tags)); }