protected function getQuery()
 {
     return sprintf(
         "UPDATE %s SET `title` = %s WHERE id = %d",
         $this->getReadAdapter()->quoteIdentifier( $this->entity->getTable() ),
         $this->getReadAdapter()->quote( $this->entity->getTitle() ),
         (int)$this->entity->getId()
     );
 }
 function vehicleBind()
 {
     $bind = array();
     foreach ($this->parent_id as $level => $val) {
         $bind[$this->inflect($level . '_id')] = $val;
     }
     $bind[$this->inflect($this->entity->getType() . '_id')] = $this->entity->getId();
     return $bind;
 }
    function getBind()
    {
        $bind = array();
        if ($this->requestedSaveId) {
            $bind['id'] = $this->requestedSaveId;
        }

        $bind['title'] = $this->entity->getTitle();
        return $bind;
    }