From 11aacb4f048e659d1b86a6ba229438444a186142 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 12 Nov 2011 14:28:52 -0500 Subject: added better plugin skeleton and added documentation to some of the examples --- documentation/examples/actions/basic.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 documentation/examples/actions/basic.php (limited to 'documentation/examples/actions/basic.php') diff --git a/documentation/examples/actions/basic.php b/documentation/examples/actions/basic.php new file mode 100644 index 000000000..926e11b79 --- /dev/null +++ b/documentation/examples/actions/basic.php @@ -0,0 +1,22 @@ +annotate('rating', $rating); + +system_message(elgg_echo('rating:success')); +forward(REFERER); -- cgit v1.2.3