src/Table/Table/Columns.php
public function addButtonEdit($link = '#', $binds = [], $is_remote = true, $method = 'post')
    {


        $c = new Column\Button(configurator()->get('button.edit.name'), configurator()->get('button.edit.label'), $link, $binds);
        $c->setOptionAsPrimary();
        $c->icon(configurator()->get('button.edit.icon'));
        if ($is_remote) {
            $c->enableRemote($method);
        }

        $this->addColumn($c);
        return $c;
    }
public function addButtonEdit($link = '#', $binds = [], $is_remote = true, $method = 'post')
    {


        $c = new Column\Button(configurator()->get('button.edit.name'), configurator()->get('button.edit.label'), $link, $binds);
        $c->setOptionAsPrimary();
        $c->icon(configurator()->get('button.edit.icon'));
        if ($is_remote) {
            $c->enableRemote($method);
        }

        $this->addColumn($c);
        return $c;
    }
public function addButtonEdit ( $ link = '#' , $ binds = [ ] , $ is_remote = true , $ method = 'post' ) { $ c = new Column \ Button ( configurator ( ) -> get ( 'button.edit.name' ) , configurator ( ) -> get ( 'button.edit.label' ) , $ link , $ binds ) ; $ c -> setOptionAsPrimary ( ) ; $ c -> icon ( configurator ( ) -> get ( 'button.edit.icon' ) ) ; if ( $ is_remote ) { $ c -> enableRemote ( $ method ) ; } $ this -> addColumn ( $ c ) ; return $ c ; }
Add default edit button

@param string $link
@param array $binds
@param array $attr
@return \FrenchFrogs\Table\Column\Button
Add default edit button