public function getButton($name) { $buttons = PPPhpButton::getButtons(); return isset($buttons[$name]) ? $buttons[$name] : false; }