| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331 | 
							- <?php
 
- /**
 
-  * PHPWord
 
-  *
 
-  * Copyright (c) 2011 PHPWord
 
-  *
 
-  * 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., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
-  *
 
-  * @category   PHPWord
 
-  * @package    PHPWord
 
-  * @copyright  Copyright (c) 010 PHPWord
 
-  * @license    http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt    LGPL
 
-  * @version    Beta 0.6.3, 08.07.2011
 
-  */
 
- /**
 
-  * PHPWord_DocumentProperties
 
-  *
 
-  * @category   PHPWord
 
-  * @package    PHPWord
 
-  * @copyright  Copyright (c) 2009 - 2011 PHPWord (http://www.codeplex.com/PHPWord)
 
-  */
 
- class PHPWord_DocumentProperties {
 
- 	/**
 
- 	 * Creator
 
- 	 *
 
- 	 * @var string
 
- 	 */
 
- 	private $_creator;
 
- 	
 
- 	/**
 
- 	 * LastModifiedBy
 
- 	 *
 
- 	 * @var string
 
- 	 */
 
- 	private $_lastModifiedBy;
 
- 	
 
- 	/**
 
- 	 * Created
 
- 	 *
 
- 	 * @var datetime
 
- 	 */
 
- 	private $_created;
 
- 	
 
- 	/**
 
- 	 * Modified
 
- 	 *
 
- 	 * @var datetime
 
- 	 */
 
- 	private $_modified;
 
- 	
 
- 	/**
 
- 	 * Title
 
- 	 *
 
- 	 * @var string
 
- 	 */
 
- 	private $_title;
 
- 	
 
- 	/**
 
- 	 * Description
 
- 	 *
 
- 	 * @var string
 
- 	 */
 
- 	private $_description;
 
- 	
 
- 	/**
 
- 	 * Subject
 
- 	 *
 
- 	 * @var string
 
- 	 */
 
- 	private $_subject;
 
- 	
 
- 	/**
 
- 	 * Keywords
 
- 	 *
 
- 	 * @var string
 
- 	 */
 
- 	private $_keywords;
 
- 	
 
- 	/**
 
- 	 * Category
 
- 	 *
 
- 	 * @var string
 
- 	 */
 
- 	private $_category;
 
- 	
 
- 	/**
 
- 	 * Company
 
- 	 * 
 
- 	 * @var string
 
- 	 */
 
- 	private $_company;
 
- 	/**
 
- 	 * Create new PHPWord_DocumentProperties
 
- 	 */
 
- 	public function __construct() {
 
- 		$this->_creator 		= '';
 
- 		$this->_lastModifiedBy  = $this->_creator;
 
- 		$this->_created 		= time();
 
- 		$this->_modified 		= time();
 
- 		$this->_title			= '';
 
- 		$this->_subject			= '';
 
- 		$this->_description		= '';
 
- 		$this->_keywords		= '';
 
- 		$this->_category		= '';
 
- 		$this->_company 		= '';
 
- 	}
 
- 	/**
 
- 	 * Get Creator
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getCreator() {
 
- 		return $this->_creator;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Creator
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setCreator($pValue = '') {
 
- 		$this->_creator = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Last Modified By
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getLastModifiedBy() {
 
- 		return $this->_lastModifiedBy;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Last Modified By
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setLastModifiedBy($pValue = '') {
 
- 		$this->_lastModifiedBy = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Created
 
- 	 *
 
- 	 * @return datetime
 
- 	 */
 
- 	public function getCreated() {
 
- 		return $this->_created;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Created
 
- 	 *
 
- 	 * @param datetime $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setCreated($pValue = null) {
 
- 		if (is_null($pValue)) {
 
- 			$pValue = time();
 
- 		}
 
- 		$this->_created = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Modified
 
- 	 *
 
- 	 * @return datetime
 
- 	 */
 
- 	public function getModified() {
 
- 		return $this->_modified;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Modified
 
- 	 *
 
- 	 * @param datetime $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setModified($pValue = null) {
 
- 		if (is_null($pValue)) {
 
- 			$pValue = time();
 
- 		}
 
- 		$this->_modified = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Title
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getTitle() {
 
- 		return $this->_title;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Title
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setTitle($pValue = '') {
 
- 		$this->_title = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Description
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getDescription() {
 
- 		return $this->_description;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Description
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setDescription($pValue = '') {
 
- 		$this->_description = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Subject
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getSubject() {
 
- 		return $this->_subject;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Subject
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setSubject($pValue = '') {
 
- 		$this->_subject = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Keywords
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getKeywords() {
 
- 		return $this->_keywords;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Keywords
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setKeywords($pValue = '') {
 
- 		$this->_keywords = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Category
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getCategory() {
 
- 		return $this->_category;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Category
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setCategory($pValue = '') {
 
- 		$this->_category = $pValue;
 
- 		return $this;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Get Company
 
- 	 *
 
- 	 * @return string
 
- 	 */
 
- 	public function getCompany() {
 
- 		return $this->_company;
 
- 	}
 
- 	
 
- 	/**
 
- 	 * Set Company
 
- 	 *
 
- 	 * @param string $pValue
 
- 	 * @return PHPWord_DocumentProperties
 
- 	 */
 
- 	public function setCompany($pValue = '') {
 
- 		$this->_company = $pValue;
 
- 		return $this;
 
- 	}
 
- }
 
- ?>
 
 
  |