Organizational Research By

Surprising Reserch Topic

how can i traverse and stock the data from this schema


how can i traverse and stock the data from this schema  using -'php,zend-framework,frameworks'

How can i extract and parcour this and get all information
from that:


  44 =>
      object(stdClass)[245]
        public 'Owner' => string '' (length=0)
        public 'Fam' => string 'DOS' (length=3)
        public 'Lfam' => string 'Dossier' (length=7)
        public 'Ctype' => string 'DO1' (length=3)
        public 'Ltype' => string 'Peau - PEFC 100%' (length=16)
        public 'Ccoul' => string 'VI' (length=2)
        public 'Lcoul' => string 'VIOLET' (length=6)
        public 'Gramm' => string '180' (length=3)
        public 'PoidsM' => string '0' (length=1)
        public 'Thickness' => string '216' (length=3)
        public 'SheetWeb' => string 'S' (length=1)
        public 'Company' => string '001' (length=3)
        public 'Establishment' => string '001' (length=3)   45 =>
      object(stdClass)[246]
        public 'Owner' => string '' (length=0)
        public 'Fam' => string 'DOS' (length=3)
        public 'Lfam' => string 'Dossier' (length=7)
        public 'Ctype' => string 'DO1' (length=3)
        public 'Ltype' => string 'Peau - PEFC 100%' (length=16)
        public 'Ccoul' => string 'VI' (length=2)
        public 'Lcoul' => string 'VIOLET' (length=6)
        public 'Gramm' => string '250' (length=3)
        public 'PoidsM' => string '0' (length=1)
        public 'Thickness' => string '300' (length=3)
        public 'SheetWeb' => string 'S' (length=1)
        public 'Company' => string '001' (length=3)
        public 'Establishment' => string '001' (length=3) object(stdClass)[248]   public 'Owner' => string '' (length=0)
  public 'Fam' => string 'CB ' (length=3)   public 'Lfam' => string
  'Autocopiant CB' (length=14)   public 'Ctype' => string 'EUD'
  (length=3)   public 'Ltype' => string 'Eurocalco Digital' (length=17)
  public 'Ccoul' => string 'BC' (length=2)   public 'Lcoul' => string
  'BLANC' (length=5)   public 'Gramm' => string '75' (length=2)   public
  'PoidsM' => string '0' (length=1)   public 'Thickness' => string '75'
  (length=2)   public 'SheetWeb' => string 'S' (length=1)   public
  'Company' => string '001' (length=3)   public 'Establishment' =>
  string '001' (length=3)


foreach ( $getPaperInfoResult->PapFamType as $this->paper_index => $this->paperinfo ) {    
                                if(isset($component->Paper->Color) && isset($component->Paper->Weight))                               
                                    if(is_object ($getPaperInfoResult->PapFamType)){                                           
                                        $ccoulobject  =$getPaperInfoResult->PapFamType->Ccoul;
                                        $grammobject  =$getPaperInfoResult->PapFamType->Gramm;
                                    }else{                                           
                                        $ccoultab  =$this->paperinfo->Ccoul;
                                        $grammtab  =$this->paperinfo->Gramm; }                                      
                            if ((($ccoulobject == $component->Paper->Color) || ($ccoultab == $component->Paper->Color)) && (($grammobject == $component->Paper->Weight) || ($grammtab == $component->Paper->Weight))) {                                    
                                 if(is_object ($getPaperInfoResult->PapFamType)){                                        
                                $quote_support .= $getPaperInfoResult->PapFamType->Lfam . ' - ' . $getPaperInfoResult->PapFamType->Lcoul . ' - ' . $getPaperInfoResult->PapFamType->Gramm . ' g/m2' . "\n";
                                echo'quote support isObject'.var_dump($quote_support);
                                }
                                else{
                                $quote_support = $this->paperinfo->Lfam . ' - ' . $this->paperinfo->Lcoul . ' - ' . $this->paperinfo->Gramm . ' g/m2' . "\n";
                                echo'quote support  table'.var_dump($quote_support);
                                }

    
asked Oct 23, 2015 by nikhilapatil
0 votes
0 views



Related Hot Questions



Government Jobs Opening


...