public static function normalizeColumn(DataTablesColumnInterface $column) {

        $output = [];

        ArrayHelper::set($output, "cellType", $column->getCellType(), [null]);
        ArrayHelper::set($output, "classname", $column->getClassname(), [null]);
        ArrayHelper::set($output, "contentPadding", $column->getContentPadding(), [null]);
        ArrayHelper::set($output, "data", $column->getData(), [null]);
        ArrayHelper::set($output, "defaultContent", $column->getDefaultContent(), [null]);
        ArrayHelper::set($output, "name", $column->getName(), [null]);
        ArrayHelper::set($output, "orderable", $column->getOrderable(), [null, true]);
        ArrayHelper::set($output, "orderData", $column->getOrderData(), [null]);
        ArrayHelper::set($output, "orderDataType", $column->getOrderDataType(), [null]);
        ArrayHelper::set($output, "orderSequence", $column->getOrderSequence(), [null]);
        ArrayHelper::set($output, "searchable", $column->getSearchable(), [null, true]);
        ArrayHelper::set($output, "type", $column->getType(), [null]);
        ArrayHelper::set($output, "visible", $column->getVisible(), [null, true]);
        ArrayHelper::set($output, "width", $column->getWidth(), [null]);

        return $output;
    }
public static function normalizeColumn(DataTablesColumnInterface $column) {

        $output = [];

        ArrayHelper::set($output, "cellType", $column->getCellType(), [null]);
        ArrayHelper::set($output, "classname", $column->getClassname(), [null]);
        ArrayHelper::set($output, "contentPadding", $column->getContentPadding(), [null]);
        ArrayHelper::set($output, "data", $column->getData(), [null]);
        ArrayHelper::set($output, "defaultContent", $column->getDefaultContent(), [null]);
        ArrayHelper::set($output, "name", $column->getName(), [null]);
        ArrayHelper::set($output, "orderable", $column->getOrderable(), [null, true]);
        ArrayHelper::set($output, "orderData", $column->getOrderData(), [null]);
        ArrayHelper::set($output, "orderDataType", $column->getOrderDataType(), [null]);
        ArrayHelper::set($output, "orderSequence", $column->getOrderSequence(), [null]);
        ArrayHelper::set($output, "searchable", $column->getSearchable(), [null, true]);
        ArrayHelper::set($output, "type", $column->getType(), [null]);
        ArrayHelper::set($output, "visible", $column->getVisible(), [null, true]);
        ArrayHelper::set($output, "width", $column->getWidth(), [null]);

        return $output;
    }
public static function normalizeColumn ( DataTablesColumnInterface $ column ) { $ output = [ ] ; ArrayHelper :: set ( $ output , "cellType" , $ column -> getCellType ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "classname" , $ column -> getClassname ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "contentPadding" , $ column -> getContentPadding ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "data" , $ column -> getData ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "defaultContent" , $ column -> getDefaultContent ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "name" , $ column -> getName ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "orderable" , $ column -> getOrderable ( ) , [ null , true ] ) ; ArrayHelper :: set ( $ output , "orderData" , $ column -> getOrderData ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "orderDataType" , $ column -> getOrderDataType ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "orderSequence" , $ column -> getOrderSequence ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "searchable" , $ column -> getSearchable ( ) , [ null , true ] ) ; ArrayHelper :: set ( $ output , "type" , $ column -> getType ( ) , [ null ] ) ; ArrayHelper :: set ( $ output , "visible" , $ column -> getVisible ( ) , [ null , true ] ) ; ArrayHelper :: set ( $ output , "width" , $ column -> getWidth ( ) , [ null ] ) ; return $ output ; }
Normalize a column.

@param DataTablesColumnInterface $column The column.
@return array Returns teh normalized column.
Normalize a column .