reformated the docblock comments (looked a litle strange after

replacing the tabs)
This commit is contained in:
Dominik Bonsch 2013-01-22 21:05:13 +01:00
parent 8ccc3a40a0
commit ace1796330

View File

@ -46,84 +46,84 @@ class PHPExcel_DocumentProperties
/** /**
* Creator * Creator
* *
* @var string * @var string
*/ */
private $_creator = 'Unknown Creator'; private $_creator = 'Unknown Creator';
/** /**
* LastModifiedBy * LastModifiedBy
* *
* @var string * @var string
*/ */
private $_lastModifiedBy; private $_lastModifiedBy;
/** /**
* Created * Created
* *
* @var datetime * @var datetime
*/ */
private $_created; private $_created;
/** /**
* Modified * Modified
* *
* @var datetime * @var datetime
*/ */
private $_modified; private $_modified;
/** /**
* Title * Title
* *
* @var string * @var string
*/ */
private $_title = 'Untitled Spreadsheet'; private $_title = 'Untitled Spreadsheet';
/** /**
* Description * Description
* *
* @var string * @var string
*/ */
private $_description = ''; private $_description = '';
/** /**
* Subject * Subject
* *
* @var string * @var string
*/ */
private $_subject = ''; private $_subject = '';
/** /**
* Keywords * Keywords
* *
* @var string * @var string
*/ */
private $_keywords = ''; private $_keywords = '';
/** /**
* Category * Category
* *
* @var string * @var string
*/ */
private $_category = ''; private $_category = '';
/** /**
* Manager * Manager
* *
* @var string * @var string
*/ */
private $_manager = ''; private $_manager = '';
/** /**
* Company * Company
* *
* @var string * @var string
*/ */
private $_company = 'Microsoft Corporation'; private $_company = 'Microsoft Corporation';
/** /**
* Custom Properties * Custom Properties
* *
* @var string * @var string
*/ */
private $_customProperties = array(); private $_customProperties = array();
@ -142,7 +142,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Creator * Get Creator
* *
* @return string * @return string
*/ */
public function getCreator() { public function getCreator() {
return $this->_creator; return $this->_creator;
@ -151,8 +151,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Creator * Set Creator
* *
* @param string $pValue * @param string $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setCreator($pValue = '') { public function setCreator($pValue = '') {
$this->_creator = $pValue; $this->_creator = $pValue;
@ -162,7 +162,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Last Modified By * Get Last Modified By
* *
* @return string * @return string
*/ */
public function getLastModifiedBy() { public function getLastModifiedBy() {
return $this->_lastModifiedBy; return $this->_lastModifiedBy;
@ -171,8 +171,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Last Modified By * Set Last Modified By
* *
* @param string $pValue * @param string $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setLastModifiedBy($pValue = '') { public function setLastModifiedBy($pValue = '') {
$this->_lastModifiedBy = $pValue; $this->_lastModifiedBy = $pValue;
@ -182,7 +182,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Created * Get Created
* *
* @return datetime * @return datetime
*/ */
public function getCreated() { public function getCreated() {
return $this->_created; return $this->_created;
@ -191,8 +191,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Created * Set Created
* *
* @param datetime $pValue * @param datetime $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setCreated($pValue = null) { public function setCreated($pValue = null) {
if ($pValue === NULL) { if ($pValue === NULL) {
@ -212,7 +212,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Modified * Get Modified
* *
* @return datetime * @return datetime
*/ */
public function getModified() { public function getModified() {
return $this->_modified; return $this->_modified;
@ -221,8 +221,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Modified * Set Modified
* *
* @param datetime $pValue * @param datetime $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setModified($pValue = null) { public function setModified($pValue = null) {
if ($pValue === NULL) { if ($pValue === NULL) {
@ -242,7 +242,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Title * Get Title
* *
* @return string * @return string
*/ */
public function getTitle() { public function getTitle() {
return $this->_title; return $this->_title;
@ -251,8 +251,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Title * Set Title
* *
* @param string $pValue * @param string $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setTitle($pValue = '') { public function setTitle($pValue = '') {
$this->_title = $pValue; $this->_title = $pValue;
@ -262,7 +262,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Description * Get Description
* *
* @return string * @return string
*/ */
public function getDescription() { public function getDescription() {
return $this->_description; return $this->_description;
@ -302,7 +302,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Keywords * Get Keywords
* *
* @return string * @return string
*/ */
public function getKeywords() { public function getKeywords() {
return $this->_keywords; return $this->_keywords;
@ -311,8 +311,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Keywords * Set Keywords
* *
* @param string $pValue * @param string $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setKeywords($pValue = '') { public function setKeywords($pValue = '') {
$this->_keywords = $pValue; $this->_keywords = $pValue;
@ -322,7 +322,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Category * Get Category
* *
* @return string * @return string
*/ */
public function getCategory() { public function getCategory() {
return $this->_category; return $this->_category;
@ -331,8 +331,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Category * Set Category
* *
* @param string $pValue * @param string $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setCategory($pValue = '') { public function setCategory($pValue = '') {
$this->_category = $pValue; $this->_category = $pValue;
@ -342,7 +342,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Company * Get Company
* *
* @return string * @return string
*/ */
public function getCompany() { public function getCompany() {
return $this->_company; return $this->_company;
@ -351,8 +351,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Company * Set Company
* *
* @param string $pValue * @param string $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setCompany($pValue = '') { public function setCompany($pValue = '') {
$this->_company = $pValue; $this->_company = $pValue;
@ -362,7 +362,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get Manager * Get Manager
* *
* @return string * @return string
*/ */
public function getManager() { public function getManager() {
return $this->_manager; return $this->_manager;
@ -371,8 +371,8 @@ class PHPExcel_DocumentProperties
/** /**
* Set Manager * Set Manager
* *
* @param string $pValue * @param string $pValue
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setManager($pValue = '') { public function setManager($pValue = '') {
$this->_manager = $pValue; $this->_manager = $pValue;
@ -382,7 +382,7 @@ class PHPExcel_DocumentProperties
/** /**
* Get a List of Custom Property Names * Get a List of Custom Property Names
* *
* @return array of string * @return array of string
*/ */
public function getCustomProperties() { public function getCustomProperties() {
return array_keys($this->_customProperties); return array_keys($this->_customProperties);
@ -391,8 +391,8 @@ class PHPExcel_DocumentProperties
/** /**
* Check if a Custom Property is defined * Check if a Custom Property is defined
* *
* @param string $propertyName * @param string $propertyName
* @return boolean * @return boolean
*/ */
public function isCustomPropertySet($propertyName) { public function isCustomPropertySet($propertyName) {
return isset($this->_customProperties[$propertyName]); return isset($this->_customProperties[$propertyName]);
@ -401,8 +401,8 @@ class PHPExcel_DocumentProperties
/** /**
* Get a Custom Property Value * Get a Custom Property Value
* *
* @param string $propertyName * @param string $propertyName
* @return string * @return string
*/ */
public function getCustomPropertyValue($propertyName) { public function getCustomPropertyValue($propertyName) {
if (isset($this->_customProperties[$propertyName])) { if (isset($this->_customProperties[$propertyName])) {
@ -414,8 +414,8 @@ class PHPExcel_DocumentProperties
/** /**
* Get a Custom Property Type * Get a Custom Property Type
* *
* @param string $propertyName * @param string $propertyName
* @return string * @return string
*/ */
public function getCustomPropertyType($propertyName) { public function getCustomPropertyType($propertyName) {
if (isset($this->_customProperties[$propertyName])) { if (isset($this->_customProperties[$propertyName])) {
@ -427,15 +427,15 @@ class PHPExcel_DocumentProperties
/** /**
* Set a Custom Property * Set a Custom Property
* *
* @param string $propertyName * @param string $propertyName
* @param mixed $propertyValue * @param mixed $propertyValue
* @param string $propertyType * @param string $propertyType
* 'i' : Integer * 'i' : Integer
* 'f' : Floating Point * 'f' : Floating Point
* 's' : String * 's' : String
* 'd' : Date/Time * 'd' : Date/Time
* 'b' : Boolean * 'b' : Boolean
* @return PHPExcel_DocumentProperties * @return PHPExcel_DocumentProperties
*/ */
public function setCustomProperty($propertyName,$propertyValue='',$propertyType=NULL) { public function setCustomProperty($propertyName,$propertyValue='',$propertyType=NULL) {
if (($propertyType === NULL) || (!in_array($propertyType,array(self::PROPERTY_TYPE_INTEGER, if (($propertyType === NULL) || (!in_array($propertyType,array(self::PROPERTY_TYPE_INTEGER,