Skip to content

Instantly share code, notes, and snippets.

@slywalker
Created October 13, 2010 01:50
Show Gist options
  • Save slywalker/623276 to your computer and use it in GitHub Desktop.
Save slywalker/623276 to your computer and use it in GitHub Desktop.
<?php
class HelloWorldPanel extends DebugPanel {
var $plugin = 'DebugKitPlus';
var $title = 'Hello World';
function startup(&$controller) { }
function beforeRender(&$controller) {
$controller->set('helloWorld', 'こんにちは世界');
return 'Hello World!';
}
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment