private function createInput($method, $column, $name, $value, array $extra = array())
    {
        $options = $this->findOptionsByColumn($column);

        // Input type. If not provided explicitly, use text
        $type = isset($options[self::GRID_PARAM_TYPE]) ? $options[self::GRID_PARAM_TYPE] : 'text';

        $text = Element::dynamic($type, $name, $value, array('class' => $this->options['inputClass']), $extra);

        return call_user_func(array($this, $method), null, $text);
    }
private function createInput($method, $column, $name, $value, array $extra = array())
    {
        $options = $this->findOptionsByColumn($column);

        // Input type. If not provided explicitly, use text
        $type = isset($options[self::GRID_PARAM_TYPE]) ? $options[self::GRID_PARAM_TYPE] : 'text';

        $text = Element::dynamic($type, $name, $value, array('class' => $this->options['inputClass']), $extra);

        return call_user_func(array($this, $method), null, $text);
    }
private function createInput ( $ method , $ column , $ name , $ value , array $ extra = array ( ) ) { $ options = $ this -> findOptionsByColumn ( $ column ) ; // Input type. If not provided explicitly, use text $ type = isset ( $ options [ self :: GRID_PARAM_TYPE ] ) ? $ options [ self :: GRID_PARAM_TYPE ] : 'text' ; $ text = Element :: dynamic ( $ type , $ name , $ value , array ( 'class' => $ this -> options [ 'inputClass' ] ) , $ extra ) ; return call_user_func ( array ( $ this , $ method ) , null , $ text ) ; }
Creates input element

@param string $method Dynamic method to be called on this class
@param string $column Column name
@param string $name Column name to be used when generating input name
@param mixed $value Column value to be used when generating input name
@param array $extra Extra options (i.e for select type - the options)
@return string
Creates input element