public function attributeAction()
 {
     $attributeModel = new AttributeModel();
     $attributeData = $attributeModel->fetchAll($attributeModel->getAtributeGrid());
     $this->_helper->layout->disableLayout();
     $page = $this->_request->getParam("page", 1);
     $responce = new stdClass();
     $responce->page = $page;
     $responce->total = 10;
     $responce->records = 100;
     $i = 0;
     foreach ($attributeData as $row) {
         //    print_r($attributeData); die;
         if ($row->fgdatatype == 5) {
             $row->fgdatatype = "Múltiplos";
             $row->idnotation = "N/A";
         } elseif ($row->fgdatatype == 4) {
             $row->fgdatatype = "Data";
         } elseif ($row->fgdatatype == 3) {
             $row->fgdatatype = "Texto";
         } elseif ($row->fgdatatype == 2) {
             $row->fgdatatype = "Decimal";
         } elseif ($row->fgdatatype == 1) {
             $row->fgdatatype = "Inteiro";
         }
         $responce->rows[$i]['cell'] = array($row->idattribute, $row->nmattribute, $row->fgdatatype, $row->idnotation);
         $i++;
     }
     $this->view->attribute = $responce;
 }