Convert in-place edit of task to jquery.editable
[infodrom.org/service.infodrom.org] / class / stempel.class.php
1 <?php
2
3 class Stempel extends DatabaseTable {
4
5   public function __construct($id=false)
6   {
7     parent::__construct('stempel', $id);
8   }
9
10   public function ajaxEditTask(Array $data)
11   {
12     if (!strlen($data['content'])) return false;
13     return $this->modify('task', $data['content']);
14   }
15
16 }