public function createColumnDetailString($columnDetails)
    {
        $columnDetailString = '';

        if (count($columnDetails) > 1) {
            array_shift($columnDetails);

            foreach ($columnDetails as $key => $detail) {
                if ($key === 0) {
                    $columnDetailString .= '->';
                }
                $columnDetailString .= $this->columnDetail($detail);
                if ($key != count($columnDetails) - 1) {
                    $columnDetailString .= '->';
                }
            }

            return $columnDetailString;
        }
    }
public function createColumnDetailString($columnDetails)
    {
        $columnDetailString = '';

        if (count($columnDetails) > 1) {
            array_shift($columnDetails);

            foreach ($columnDetails as $key => $detail) {
                if ($key === 0) {
                    $columnDetailString .= '->';
                }
                $columnDetailString .= $this->columnDetail($detail);
                if ($key != count($columnDetails) - 1) {
                    $columnDetailString .= '->';
                }
            }

            return $columnDetailString;
        }
    }
public function createColumnDetailString ( $ columnDetails ) { $ columnDetailString = '' ; if ( count ( $ columnDetails ) > 1 ) { array_shift ( $ columnDetails ) ; foreach ( $ columnDetails as $ key => $ detail ) { if ( $ key === 0 ) { $ columnDetailString .= '->' ; } $ columnDetailString .= $ this -> columnDetail ( $ detail ) ; if ( $ key != count ( $ columnDetails ) - 1 ) { $ columnDetailString .= '->' ; } } return $ columnDetailString ; } }
Create a column detail string.

@param array $columnDetails

@return string
Create a column detail string .