Location: PHPKode > projects > EmbryoCore > content/plugins/myplugin/myplugin.php
<?php
/*==============================================================================================
/**
 * @package                 EmbryoCore
 * @author                  Steve Dunstan (hide@address.com)
 * @copyright               2010-2011 EmbryoCore
 * @licence                 GNU General Public License v3: http://www.gnu.org/licenses/
 * @link                    http://embryocore.com
 * @since                   File available since Release 1.0
 * @version                 SVN: $Id: myplugin.php 3 2010-08-10 11:09:05Z stevedunstan $
/**
===============================================================================================*/

class MyPluginClass
{
     public $content;
     function __construct()
     {
         $this->content = "<h1 class='page-title'><img src='"._constant('path:plugins')."myplugin/icon.png' alt='' /> This is my plugin class!</h1>
		 <p>This plugin can be used as a basic template to write your own plugin. To view the files, see <em>/content/plugins/myplugin/</em>.</p>";
     }
}
?>
Return current item: EmbryoCore