Swat/SwatTableViewColumn.php
public function init()
    {
        foreach ($this->renderers as $renderer) {
            $renderer->init();
        }

        if ($this->id === null) {
            $this->id = $this->getUniqueId();
            $this->has_auto_id = true;
        }

        // add the input cell to this column's view's input row
        if ($this->input_cell !== null) {
            $input_row = $this->parent->getFirstRowByClass(
                'SwatTableViewInputRow'
            );
            if ($input_row === null) {
                throw new SwatException(
                    'Table-view does not have an input row.'
                );
            }

            $input_row->addInputCell($this->input_cell, $this->id);
        }
    }
public function init()
    {
        foreach ($this->renderers as $renderer) {
            $renderer->init();
        }

        if ($this->id === null) {
            $this->id = $this->getUniqueId();
            $this->has_auto_id = true;
        }

        // add the input cell to this column's view's input row
        if ($this->input_cell !== null) {
            $input_row = $this->parent->getFirstRowByClass(
                'SwatTableViewInputRow'
            );
            if ($input_row === null) {
                throw new SwatException(
                    'Table-view does not have an input row.'
                );
            }

            $input_row->addInputCell($this->input_cell, $this->id);
        }
    }
public function init ( ) { foreach ( $ this -> renderers as $ renderer ) { $ renderer -> init ( ) ; } if ( $ this -> id === null ) { $ this -> id = $ this -> getUniqueId ( ) ; $ this -> has_auto_id = true ; } // add the input cell to this column's view's input row if ( $ this -> input_cell !== null ) { $ input_row = $ this -> parent -> getFirstRowByClass ( 'SwatTableViewInputRow' ) ; if ( $ input_row === null ) { throw new SwatException ( 'Table-view does not have an input row.' ) ; } $ input_row -> addInputCell ( $ this -> input_cell , $ this -> id ) ; } }
Initializes this column

Gets a unique identifier for this column if one is not provided

This calls init on all cell renderers and input cells in this column
Initializes this column