<?php
 
class OrderBilling extends AppModel
{
    var $name='OrderBilling';



    function list($conditions = array() )
    {
        return $this->find('all', array('conditions' => $conditions));
    }

    function add($inputData)
    {
        $result = false;

        if(!empty($inputData))
        {
            $fileds = array();
            $dbData["OrderBilling"] = $inputData;
            if($this->save($dbData,false,$fileds)){
                $dbData["OrderBilling"]['id'] = $this->id;
                $result = true;
            }
        }
        return array($result,$dbData["OrderBilling"]);
    }


}
?>