Source for file view.html.php

Documentation is available at view.html.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_finder
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * Statistics view class for Finder.
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_finder
  17.  * @since       2.5
  18.  */
  19. {
  20.     /**
  21.      * Method to display the view.
  22.      *
  23.      * @param   string  $tpl  A template file to load. [optional]
  24.      *
  25.      * @return  mixed  A string if successful, otherwise a JError object.
  26.      *
  27.      * @since   2.5
  28.      */
  29.     public function display($tpl null)
  30.     {
  31.         // Load the view data.
  32.         $this->data        $this->get('Data');
  33.  
  34.         // Check for errors.
  35.         if (count($errors $this->get('Errors')))
  36.         {
  37.             JError::raiseError(500implode("\n"$errors));
  38.             return false;
  39.         }
  40.  
  41.         parent::display($tpl);
  42.     }
  43. }

Documentation generated on Tue, 19 Nov 2013 15:17:08 +0100 by phpDocumentor 1.4.3