public static function Actionpanel($control) { $actions = Manager::getActions(); if ($control->property->actions) { $selection = explode('.', $control->property->actions); do { $actions = $actions[current($selection)][5]; } while (next($selection) !== false); foreach ($actions as $action) { $link = new MLinkButton(); $link->property->iconCls = $action[2]; $link->property->plain = true; $link->property->size = 'large'; $link->property->text = $action[0]; $link->property->options['iconAlign'] = 'top'; $link->property->action = Maestro\UI\Action::isAction($action[1]) ? $action[1] : '>' . $action[1]; Action::generate($link); $control->addControl($link); } } return self::mpanel($control); }