PHP Classes
Icontem

File: ExcelXMLDocumentProperties.php


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrew Aculana  >  Excel XML Parser  >  ExcelXMLDocumentProperties.php  
File: ExcelXMLDocumentProperties.php
Role: Class source
Content type: text/plain
Description: Document Property Class
Class: Excel XML Parser
Read and write data to Excel XML worksheets
 

Contents

Class file image Download
<?php
/*
* ============================================================================
*
* @name ExcelXMLDocumentProperties.php
*
* @author Andrew A. Aculana
* @version 2.0
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @date 2006-07-03
*
* ============================================================================
*
* License:    GNU Lesser General Public License (LGPL)
*
* Copyright (c) 2004 LINK2SUPPORT INC.  All rights reserved.
*
* This file is part of the L2S Online Application Framework
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.

* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.

* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*
* ============================================================================
*/

/**
 * @package ExcelXMLParser
 * @subpackage ExcelXMLParser
 */

class ExcelXMLDocumentProperties{
    
    
/**
     * Excel XML Document Properties Attributes
     * @var Associative Array $DocumentProperties
     * @var Iterator $Iterator
     */
    
var $Data;
#-----------------------------------------------------------------------------#

    /**
     * class constructor
     * 
     * @author Andrew A. Aculana
     * @access Public
     * @version 2.0
     * @copyright 2006-07-03
     * @return null
     */    
    
function ExcelXMLDocumentProperties(&$Data){
        
$this->Data =& $Data;
    }
#-----------------------------------------------------------------------------#
    /**
     * set the property
     * 
     * @author Andrew A. Aculana
     * @access Public
     * @version 2.0
     * @copyright 2006-07-03
     * @param String $PropertyName
     * @param String $Value
     * @return NULL
     */
    
function &setProperty($PropertyName "",$Value){
        
$this->Data["Workbook"][0]["children"]["DocumentProperties"][0]['children'][$PropertyName][0]['values'][0] = $Value;
    }
#-----------------------------------------------------------------------------#

    /**
     * get the property
     * 
     * @author Andrew A. Aculana
     * @access Public
     * @version 2.0
     * @copyright 2006-07-03
     * @return long - pointer to an object
     */
    
function &getProperty($PropertyName ""){
        return 
$this->Data["Workbook"][0]["children"]["DocumentProperties"][0]['children'][$PropertyName][0]['values'][0];
    }
#-----------------------------------------------------------------------------#
}
?>

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products