classes/Models/Base.php
public function makeAdminActions($data)
    {
        $actions = [];

        if ($html = $this->makeVisibilityAction($data)) {
            $actions['visibility'] = $html;
        }

        if ($html = $this->makeEditAction($data)) {
            $actions['edit'] = $html;
        }

        if ($html = $this->makeViewAction($data)) {
            $actions['view'] = $html;
        }

        if ($html = $this->makeDeleteAction($data)) {
            $actions['delete'] = $html;
        }

        return $actions;
    }
public function makeAdminActions($data)
    {
        $actions = [];

        if ($html = $this->makeVisibilityAction($data)) {
            $actions['visibility'] = $html;
        }

        if ($html = $this->makeEditAction($data)) {
            $actions['edit'] = $html;
        }

        if ($html = $this->makeViewAction($data)) {
            $actions['view'] = $html;
        }

        if ($html = $this->makeDeleteAction($data)) {
            $actions['delete'] = $html;
        }

        return $actions;
    }
public function makeAdminActions ( $ data ) { $ actions = [ ] ; if ( $ html = $ this -> makeVisibilityAction ( $ data ) ) { $ actions [ 'visibility' ] = $ html ; } if ( $ html = $ this -> makeEditAction ( $ data ) ) { $ actions [ 'edit' ] = $ html ; } if ( $ html = $ this -> makeViewAction ( $ data ) ) { $ actions [ 'view' ] = $ html ; } if ( $ html = $ this -> makeDeleteAction ( $ data ) ) { $ actions [ 'delete' ] = $ html ; } return $ actions ; }
Make the markup for the actions column of the admin listing view.  The
indivudal actions are stored in an array that is iterted through in the
view

@param  array $data The data passed to a listing view
@return array
Make the markup for the actions column of the admin listing view . The indivudal actions are stored in an array that is iterted through in the view