public function toHash()
{
$hash = array('tasklist_id' => $this->tasklist, 'task_id' => $this->id, 'uid' => $this->uid, 'parent' => $this->parent_id, 'owner' => $this->owner, 'assignee' => $this->assignee, 'name' => $this->name, 'desc' => $this->desc, 'start' => $this->start, 'due' => $this->due, 'priority' => $this->priority, 'estimate' => $this->estimate, 'completed' => $this->completed, 'completed_date' => $this->completed_date, 'alarm' => $this->alarm, 'methods' => $this->methods, 'private' => $this->private, 'recurrence' => $this->recurrence, 'tags' => $this->tags, 'organizer' => $this->organizer, 'status' => $this->status, 'actual' => $this->actual);
return $hash;
}