/**
  * Permit requests to the static pages grid handler
  * @param $hookName string The name of the hook being invoked
  * @param $args array The parameters to the invoked hook
  */
 function setupGridHandler($hookName, $params)
 {
     $component =& $params[0];
     if ($component == 'plugins.generic.staticPages.controllers.grid.StaticPageGridHandler') {
         // Allow the static page grid handler to get the plugin object
         import($component);
         StaticPageGridHandler::setPlugin($this);
         return true;
     }
     return false;
 }
 /**
  * Set the static pages plugin.
  * @param $plugin StaticPagesPlugin
  */
 static function setPlugin($plugin)
 {
     self::$plugin = $plugin;
 }