<?php

class Model_DbTable_Relationship extends Zend_Db_Table
{
    protected $_name = 'relationship';
    
   public function insertData($data)
    {
       
       try{
           $id = $this->insert($data);
           return $id;
       }catch(Exception $e){
          return  false;
       }
       
    }
    
    //RelationshipStatus 
     
   public function getAll()
    {
       $select = $this->select();
            $select->from(array('t' => $this->_name))->order("RelationshipName ASC");
               
            $select->setIntegrityCheck(false);
            return $this->fetchAll($select);
    }  
    
    
}