Пример #1
0
 /**
  * @param array $fieldIds List of field ids whose column indexes to return
  * @return array
  */
 public function getColumnIndexesById($fieldIds)
 {
     $data =& $this->pivotDescription->getDataTable();
     $fieldIndexes = array();
     foreach ($fieldIds as $fieldId) {
         $ci = $data->getColumnIndex($fieldId);
         $fieldIndexes[] = $ci;
     }
     return $fieldIndexes;
 }