PHPExcel_CachedObjectStorage
[ class tree: PHPExcel_CachedObjectStorage ] [ index: PHPExcel_CachedObjectStorage ] [ all elements ]

Source for file ICache.php

Documentation is available at ICache.php

  1. <?php
  2. /**
  3.  * PHPExcel
  4.  *
  5.  * Copyright (c) 2006 - 2011 PHPExcel
  6.  *
  7.  * This library is free software; you can redistribute it and/or
  8.  * modify it under the terms of the GNU Lesser General Public
  9.  * License as published by the Free Software Foundation; either
  10.  * version 2.1 of the License, or (at your option) any later version.
  11.  *
  12.  * This library is distributed in the hope that it will be useful,
  13.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15.  * Lesser General Public License for more details.
  16.  *
  17.  * You should have received a copy of the GNU Lesser General Public
  18.  * License along with this library; if not, write to the Free Software
  19.  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  20.  *
  21.  * @category   PHPExcel
  22.  * @package    PHPExcel_CachedObjectStorage
  23.  * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
  24.  * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
  25.  * @version    1.7.6, 2011-02-27
  26.  */
  27.  
  28.  
  29. /**
  30.  * PHPExcel_CachedObjectStorage_ICache
  31.  *
  32.  * @category   PHPExcel
  33.  * @package    PHPExcel_CachedObjectStorage
  34.  * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
  35.  */
  36. {
  37.     /**
  38.      *    Add or Update a cell in cache identified by coordinate address
  39.      *
  40.      *    @param    string            $pCoord        Coordinate address of the cell to update
  41.      *    @param    PHPExcel_Cell    $cell        Cell to update
  42.      *    @return    void 
  43.      *    @throws    Exception
  44.      */
  45.     public function addCacheData($pCoordPHPExcel_Cell $cell);
  46.  
  47.     /**
  48.      *    Add or Update a cell in cache
  49.      *
  50.      *    @param    PHPExcel_Cell    $cell        Cell to update
  51.      *    @return    void 
  52.      *    @throws    Exception
  53.      */
  54.     public function updateCacheData(PHPExcel_Cell $cell);
  55.  
  56.     /**
  57.      *    Fetch a cell from cache identified by coordinate address
  58.      *
  59.      *    @param    string            $pCoord        Coordinate address of the cell to retrieve
  60.      *    @return PHPExcel_Cell     Cell that was found, or null if not found
  61.      *    @throws    Exception
  62.      */
  63.     public function getCacheData($pCoord);
  64.  
  65.     /**
  66.      *    Delete a cell in cache identified by coordinate address
  67.      *
  68.      *    @param    string            $pCoord        Coordinate address of the cell to delete
  69.      *    @throws    Exception
  70.      */
  71.     public function deleteCacheData($pCoord);
  72.  
  73.     /**
  74.      *    Is a value set in the current PHPExcel_CachedObjectStorage_ICache for an indexed cell?
  75.      *
  76.      *    @param    string        $pCoord        Coordinate address of the cell to check
  77.      *    @return    void 
  78.      *    @return    boolean 
  79.      */
  80.     public function isDataSet($pCoord);
  81.  
  82.     /**
  83.      *    Get a list of all cell addresses currently held in cache
  84.      *
  85.      *    @return    array of string
  86.      */
  87.     public function getCellList();
  88.  
  89.     /**
  90.      *    Get the list of all cell addresses currently held in cache sorted by column and row
  91.      *
  92.      *    @return    void 
  93.      */
  94.     public function getSortedCellList();
  95.  
  96.     /**
  97.      *    Clone the cell collection
  98.      *
  99.      *    @return    void 
  100.      */
  101.     public function copyCellCollection(PHPExcel_Worksheet $parent);
  102.  
  103. }

Documentation generated on Sun, 27 Feb 2011 16:32:23 -0800 by phpDocumentor 1.4.3