Source for file updateadapter.php

Documentation is available at updateadapter.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Platform
  4.  * @subpackage  Updater
  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('JPATH_PLATFORM'or die;
  11.  
  12. jimport('joomla.base.adapterinstance');
  13.  
  14. /**
  15.  * UpdateAdapter class.
  16.  *
  17.  * @package     Joomla.Platform
  18.  * @subpackage  Updater
  19.  * @since       11.1
  20.  */
  21. {
  22.     /**
  23.      * Resource handle for the XML Parser
  24.      *
  25.      * @var    resource 
  26.      * @since  12.1
  27.      */
  28.     protected $xmlParser;
  29.  
  30.     /**
  31.      * Element call stack
  32.      *
  33.      * @var    array 
  34.      * @since  12.1
  35.      */
  36.     protected $stack = array('base');
  37.  
  38.     /**
  39.      * ID of update site
  40.      *
  41.      * @var    string 
  42.      * @since  12.1
  43.      */
  44.     protected $updateSiteId = 0;
  45.  
  46.     /**
  47.      * Columns in the extensions table to be updated
  48.      *
  49.      * @var    array 
  50.      * @since  12.1
  51.      */
  52.     protected $updatecols = array('NAME''ELEMENT''TYPE''FOLDER''CLIENT''VERSION''DESCRIPTION''INFOURL');
  53.  
  54.     /**
  55.      * Gets the reference to the current direct parent
  56.      *
  57.      * @return  object 
  58.      *
  59.      * @since   11.1
  60.      */
  61.     protected function _getStackLocation()
  62.     {
  63.         return implode('->'$this->stack);
  64.     }
  65.  
  66.     /**
  67.      * Gets the reference to the last tag
  68.      *
  69.      * @return  object 
  70.      *
  71.      * @since   11.1
  72.      */
  73.     protected function _getLastTag()
  74.     {
  75.         return $this->stack[count($this->stack1];
  76.     }
  77. }

Documentation generated on Tue, 19 Nov 2013 15:16:12 +0100 by phpDocumentor 1.4.3