@@ -46,84 +46,84 @@ class PHPExcel_DocumentProperties
46
46
/**
47
47
* Creator
48
48
*
49
- * @var string
49
+ * @var string
50
50
*/
51
51
private $ _creator = 'Unknown Creator ' ;
52
52
53
53
/**
54
54
* LastModifiedBy
55
55
*
56
- * @var string
56
+ * @var string
57
57
*/
58
58
private $ _lastModifiedBy ;
59
59
60
60
/**
61
61
* Created
62
62
*
63
- * @var datetime
63
+ * @var datetime
64
64
*/
65
65
private $ _created ;
66
66
67
67
/**
68
68
* Modified
69
69
*
70
- * @var datetime
70
+ * @var datetime
71
71
*/
72
72
private $ _modified ;
73
73
74
74
/**
75
75
* Title
76
76
*
77
- * @var string
77
+ * @var string
78
78
*/
79
79
private $ _title = 'Untitled Spreadsheet ' ;
80
80
81
81
/**
82
82
* Description
83
83
*
84
- * @var string
84
+ * @var string
85
85
*/
86
86
private $ _description = '' ;
87
87
88
88
/**
89
89
* Subject
90
90
*
91
- * @var string
91
+ * @var string
92
92
*/
93
93
private $ _subject = '' ;
94
94
95
95
/**
96
96
* Keywords
97
97
*
98
- * @var string
98
+ * @var string
99
99
*/
100
100
private $ _keywords = '' ;
101
101
102
102
/**
103
103
* Category
104
104
*
105
- * @var string
105
+ * @var string
106
106
*/
107
107
private $ _category = '' ;
108
108
109
109
/**
110
110
* Manager
111
111
*
112
- * @var string
112
+ * @var string
113
113
*/
114
114
private $ _manager = '' ;
115
115
116
116
/**
117
117
* Company
118
118
*
119
- * @var string
119
+ * @var string
120
120
*/
121
121
private $ _company = 'Microsoft Corporation ' ;
122
122
123
123
/**
124
124
* Custom Properties
125
125
*
126
- * @var string
126
+ * @var string
127
127
*/
128
128
private $ _customProperties = array ();
129
129
@@ -142,7 +142,7 @@ public function __construct()
142
142
/**
143
143
* Get Creator
144
144
*
145
- * @return string
145
+ * @return string
146
146
*/
147
147
public function getCreator () {
148
148
return $ this ->_creator ;
@@ -151,8 +151,8 @@ public function getCreator() {
151
151
/**
152
152
* Set Creator
153
153
*
154
- * @param string $pValue
155
- * @return PHPExcel_DocumentProperties
154
+ * @param string $pValue
155
+ * @return PHPExcel_DocumentProperties
156
156
*/
157
157
public function setCreator ($ pValue = '' ) {
158
158
$ this ->_creator = $ pValue ;
@@ -162,7 +162,7 @@ public function setCreator($pValue = '') {
162
162
/**
163
163
* Get Last Modified By
164
164
*
165
- * @return string
165
+ * @return string
166
166
*/
167
167
public function getLastModifiedBy () {
168
168
return $ this ->_lastModifiedBy ;
@@ -171,8 +171,8 @@ public function getLastModifiedBy() {
171
171
/**
172
172
* Set Last Modified By
173
173
*
174
- * @param string $pValue
175
- * @return PHPExcel_DocumentProperties
174
+ * @param string $pValue
175
+ * @return PHPExcel_DocumentProperties
176
176
*/
177
177
public function setLastModifiedBy ($ pValue = '' ) {
178
178
$ this ->_lastModifiedBy = $ pValue ;
@@ -182,7 +182,7 @@ public function setLastModifiedBy($pValue = '') {
182
182
/**
183
183
* Get Created
184
184
*
185
- * @return datetime
185
+ * @return datetime
186
186
*/
187
187
public function getCreated () {
188
188
return $ this ->_created ;
@@ -191,8 +191,8 @@ public function getCreated() {
191
191
/**
192
192
* Set Created
193
193
*
194
- * @param datetime $pValue
195
- * @return PHPExcel_DocumentProperties
194
+ * @param datetime $pValue
195
+ * @return PHPExcel_DocumentProperties
196
196
*/
197
197
public function setCreated ($ pValue = null ) {
198
198
if ($ pValue === NULL ) {
@@ -212,7 +212,7 @@ public function setCreated($pValue = null) {
212
212
/**
213
213
* Get Modified
214
214
*
215
- * @return datetime
215
+ * @return datetime
216
216
*/
217
217
public function getModified () {
218
218
return $ this ->_modified ;
@@ -221,8 +221,8 @@ public function getModified() {
221
221
/**
222
222
* Set Modified
223
223
*
224
- * @param datetime $pValue
225
- * @return PHPExcel_DocumentProperties
224
+ * @param datetime $pValue
225
+ * @return PHPExcel_DocumentProperties
226
226
*/
227
227
public function setModified ($ pValue = null ) {
228
228
if ($ pValue === NULL ) {
@@ -242,7 +242,7 @@ public function setModified($pValue = null) {
242
242
/**
243
243
* Get Title
244
244
*
245
- * @return string
245
+ * @return string
246
246
*/
247
247
public function getTitle () {
248
248
return $ this ->_title ;
@@ -251,8 +251,8 @@ public function getTitle() {
251
251
/**
252
252
* Set Title
253
253
*
254
- * @param string $pValue
255
- * @return PHPExcel_DocumentProperties
254
+ * @param string $pValue
255
+ * @return PHPExcel_DocumentProperties
256
256
*/
257
257
public function setTitle ($ pValue = '' ) {
258
258
$ this ->_title = $ pValue ;
@@ -262,7 +262,7 @@ public function setTitle($pValue = '') {
262
262
/**
263
263
* Get Description
264
264
*
265
- * @return string
265
+ * @return string
266
266
*/
267
267
public function getDescription () {
268
268
return $ this ->_description ;
@@ -302,7 +302,7 @@ public function setSubject($pValue = '') {
302
302
/**
303
303
* Get Keywords
304
304
*
305
- * @return string
305
+ * @return string
306
306
*/
307
307
public function getKeywords () {
308
308
return $ this ->_keywords ;
@@ -311,8 +311,8 @@ public function getKeywords() {
311
311
/**
312
312
* Set Keywords
313
313
*
314
- * @param string $pValue
315
- * @return PHPExcel_DocumentProperties
314
+ * @param string $pValue
315
+ * @return PHPExcel_DocumentProperties
316
316
*/
317
317
public function setKeywords ($ pValue = '' ) {
318
318
$ this ->_keywords = $ pValue ;
@@ -322,7 +322,7 @@ public function setKeywords($pValue = '') {
322
322
/**
323
323
* Get Category
324
324
*
325
- * @return string
325
+ * @return string
326
326
*/
327
327
public function getCategory () {
328
328
return $ this ->_category ;
@@ -331,8 +331,8 @@ public function getCategory() {
331
331
/**
332
332
* Set Category
333
333
*
334
- * @param string $pValue
335
- * @return PHPExcel_DocumentProperties
334
+ * @param string $pValue
335
+ * @return PHPExcel_DocumentProperties
336
336
*/
337
337
public function setCategory ($ pValue = '' ) {
338
338
$ this ->_category = $ pValue ;
@@ -342,7 +342,7 @@ public function setCategory($pValue = '') {
342
342
/**
343
343
* Get Company
344
344
*
345
- * @return string
345
+ * @return string
346
346
*/
347
347
public function getCompany () {
348
348
return $ this ->_company ;
@@ -351,8 +351,8 @@ public function getCompany() {
351
351
/**
352
352
* Set Company
353
353
*
354
- * @param string $pValue
355
- * @return PHPExcel_DocumentProperties
354
+ * @param string $pValue
355
+ * @return PHPExcel_DocumentProperties
356
356
*/
357
357
public function setCompany ($ pValue = '' ) {
358
358
$ this ->_company = $ pValue ;
@@ -362,7 +362,7 @@ public function setCompany($pValue = '') {
362
362
/**
363
363
* Get Manager
364
364
*
365
- * @return string
365
+ * @return string
366
366
*/
367
367
public function getManager () {
368
368
return $ this ->_manager ;
@@ -371,8 +371,8 @@ public function getManager() {
371
371
/**
372
372
* Set Manager
373
373
*
374
- * @param string $pValue
375
- * @return PHPExcel_DocumentProperties
374
+ * @param string $pValue
375
+ * @return PHPExcel_DocumentProperties
376
376
*/
377
377
public function setManager ($ pValue = '' ) {
378
378
$ this ->_manager = $ pValue ;
@@ -382,7 +382,7 @@ public function setManager($pValue = '') {
382
382
/**
383
383
* Get a List of Custom Property Names
384
384
*
385
- * @return array of string
385
+ * @return array of string
386
386
*/
387
387
public function getCustomProperties () {
388
388
return array_keys ($ this ->_customProperties );
@@ -391,8 +391,8 @@ public function getCustomProperties() {
391
391
/**
392
392
* Check if a Custom Property is defined
393
393
*
394
- * @param string $propertyName
395
- * @return boolean
394
+ * @param string $propertyName
395
+ * @return boolean
396
396
*/
397
397
public function isCustomPropertySet ($ propertyName ) {
398
398
return isset ($ this ->_customProperties [$ propertyName ]);
@@ -401,8 +401,8 @@ public function isCustomPropertySet($propertyName) {
401
401
/**
402
402
* Get a Custom Property Value
403
403
*
404
- * @param string $propertyName
405
- * @return string
404
+ * @param string $propertyName
405
+ * @return string
406
406
*/
407
407
public function getCustomPropertyValue ($ propertyName ) {
408
408
if (isset ($ this ->_customProperties [$ propertyName ])) {
@@ -414,8 +414,8 @@ public function getCustomPropertyValue($propertyName) {
414
414
/**
415
415
* Get a Custom Property Type
416
416
*
417
- * @param string $propertyName
418
- * @return string
417
+ * @param string $propertyName
418
+ * @return string
419
419
*/
420
420
public function getCustomPropertyType ($ propertyName ) {
421
421
if (isset ($ this ->_customProperties [$ propertyName ])) {
@@ -427,15 +427,15 @@ public function getCustomPropertyType($propertyName) {
427
427
/**
428
428
* Set a Custom Property
429
429
*
430
- * @param string $propertyName
431
- * @param mixed $propertyValue
432
- * @param string $propertyType
433
- * 'i' : Integer
434
- * 'f' : Floating Point
435
- * 's' : String
436
- * 'd' : Date/Time
437
- * 'b' : Boolean
438
- * @return PHPExcel_DocumentProperties
430
+ * @param string $propertyName
431
+ * @param mixed $propertyValue
432
+ * @param string $propertyType
433
+ * 'i' : Integer
434
+ * 'f' : Floating Point
435
+ * 's' : String
436
+ * 'd' : Date/Time
437
+ * 'b' : Boolean
438
+ * @return PHPExcel_DocumentProperties
439
439
*/
440
440
public function setCustomProperty ($ propertyName ,$ propertyValue ='' ,$ propertyType =NULL ) {
441
441
if (($ propertyType === NULL ) || (!in_array ($ propertyType ,array (self ::PROPERTY_TYPE_INTEGER ,
0 commit comments