public function toMatchingArray($colsArr) {
        $arr = array();
        //var_dump($colsArr);die();
        foreach ($colsArr as $key => $col) {
            $arr[] = $this->getCellArrayForPosition($col->getId());
        }
        return $arr;
    }
public function toMatchingArray($colsArr) {
        $arr = array();
        //var_dump($colsArr);die();
        foreach ($colsArr as $key => $col) {
            $arr[] = $this->getCellArrayForPosition($col->getId());
        }
        return $arr;
    }
public function toMatchingArray ( $ colsArr ) { $ arr = array ( ) ; //var_dump($colsArr);die(); foreach ( $ colsArr as $ key => $ col ) { $ arr [ ] = $ this -> getCellArrayForPosition ( $ col -> getId ( ) ) ; } return $ arr ; }
returns an array representation of the instance,
by matching column ids with Row cell key
@return array
returns an array representation of the instance by matching column ids with Row cell key