ILIAS  Release_4_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
PHPExcel_DocumentProperties Class Reference
+ Collaboration diagram for PHPExcel_DocumentProperties:

Public Member Functions

 __construct ()
 Create a new PHPExcel_DocumentProperties.
 getCreator ()
 Get Creator.
 setCreator ($pValue= '')
 Set Creator.
 getLastModifiedBy ()
 Get Last Modified By.
 setLastModifiedBy ($pValue= '')
 Set Last Modified By.
 getCreated ()
 Get Created.
 setCreated ($pValue=null)
 Set Created.
 getModified ()
 Get Modified.
 setModified ($pValue=null)
 Set Modified.
 getTitle ()
 Get Title.
 setTitle ($pValue= '')
 Set Title.
 getDescription ()
 Get Description.
 setDescription ($pValue= '')
 Set Description.
 getSubject ()
 Get Subject.
 setSubject ($pValue= '')
 Set Subject.
 getKeywords ()
 Get Keywords.
 setKeywords ($pValue= '')
 Set Keywords.
 getCategory ()
 Get Category.
 setCategory ($pValue= '')
 Set Category.
 getCompany ()
 Get Company.
 setCompany ($pValue= '')
 Set Company.
 __clone ()
 Implement PHP __clone to create a deep clone, not just a shallow copy.

Private Attributes

 $_creator
 $_lastModifiedBy
 $_created
 $_modified
 $_title
 $_description
 $_subject
 $_keywords
 $_category
 $_company

Detailed Description

Definition at line 36 of file DocumentProperties.php.

Constructor & Destructor Documentation

PHPExcel_DocumentProperties::__construct ( )

Create a new PHPExcel_DocumentProperties.

Definition at line 111 of file DocumentProperties.php.

References $_creator.

{
// Initialise values
$this->_creator = 'Unknown Creator';
$this->_lastModifiedBy = $this->_creator;
$this->_created = time();
$this->_modified = time();
$this->_title = "Untitled Spreadsheet";
$this->_subject = '';
$this->_description = '';
$this->_keywords = '';
$this->_category = '';
$this->_company = 'Microsoft Corporation';
}

Member Function Documentation

PHPExcel_DocumentProperties::__clone ( )

Implement PHP __clone to create a deep clone, not just a shallow copy.

Definition at line 335 of file DocumentProperties.php.

References $key.

{
$vars = get_object_vars($this);
foreach ($vars as $key => $value) {
if (is_object($value)) {
$this->$key = clone $value;
} else {
$this->$key = $value;
}
}
}
PHPExcel_DocumentProperties::getCategory ( )

Get Category.

Returns
string

Definition at line 297 of file DocumentProperties.php.

References $_category.

{
}
PHPExcel_DocumentProperties::getCompany ( )

Get Company.

Returns
string

Definition at line 317 of file DocumentProperties.php.

References $_company.

{
}
PHPExcel_DocumentProperties::getCreated ( )

Get Created.

Returns
datetime

Definition at line 171 of file DocumentProperties.php.

References $_created.

{
}
PHPExcel_DocumentProperties::getCreator ( )

Get Creator.

Returns
string

Definition at line 131 of file DocumentProperties.php.

References $_creator.

{
}
PHPExcel_DocumentProperties::getDescription ( )

Get Description.

Returns
string

Definition at line 237 of file DocumentProperties.php.

References $_description.

{
}
PHPExcel_DocumentProperties::getKeywords ( )

Get Keywords.

Returns
string

Definition at line 277 of file DocumentProperties.php.

References $_keywords.

{
}
PHPExcel_DocumentProperties::getLastModifiedBy ( )

Get Last Modified By.

Returns
string

Definition at line 151 of file DocumentProperties.php.

References $_lastModifiedBy.

PHPExcel_DocumentProperties::getModified ( )

Get Modified.

Returns
datetime

Definition at line 194 of file DocumentProperties.php.

References $_modified.

{
}
PHPExcel_DocumentProperties::getSubject ( )

Get Subject.

Returns
string

Definition at line 257 of file DocumentProperties.php.

References $_subject.

{
}
PHPExcel_DocumentProperties::getTitle ( )

Get Title.

Returns
string

Definition at line 217 of file DocumentProperties.php.

References $_title.

{
return $this->_title;
}
PHPExcel_DocumentProperties::setCategory (   $pValue = '')

Set Category.

Parameters
string$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 307 of file DocumentProperties.php.

{
$this->_category = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setCompany (   $pValue = '')

Set Company.

Parameters
string$pValue
Returns
PHPPowerPoint_DocumentProperties

Definition at line 327 of file DocumentProperties.php.

{
$this->_company = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setCreated (   $pValue = null)

Set Created.

Parameters
datetime$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 181 of file DocumentProperties.php.

{
if (is_null($pValue)) {
$pValue = time();
}
$this->_created = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setCreator (   $pValue = '')

Set Creator.

Parameters
string$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 141 of file DocumentProperties.php.

{
$this->_creator = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setDescription (   $pValue = '')

Set Description.

Parameters
string$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 247 of file DocumentProperties.php.

{
$this->_description = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setKeywords (   $pValue = '')

Set Keywords.

Parameters
string$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 287 of file DocumentProperties.php.

{
$this->_keywords = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setLastModifiedBy (   $pValue = '')

Set Last Modified By.

Parameters
string$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 161 of file DocumentProperties.php.

{
$this->_lastModifiedBy = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setModified (   $pValue = null)

Set Modified.

Parameters
datetime$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 204 of file DocumentProperties.php.

{
if (is_null($pValue)) {
$pValue = time();
}
$this->_modified = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setSubject (   $pValue = '')

Set Subject.

Parameters
string$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 267 of file DocumentProperties.php.

{
$this->_subject = $pValue;
return $this;
}
PHPExcel_DocumentProperties::setTitle (   $pValue = '')

Set Title.

Parameters
string$pValue
Returns
PHPExcel_DocumentProperties

Definition at line 227 of file DocumentProperties.php.

{
$this->_title = $pValue;
return $this;
}

Field Documentation

PHPExcel_DocumentProperties::$_category
private

Definition at line 99 of file DocumentProperties.php.

Referenced by getCategory().

PHPExcel_DocumentProperties::$_company
private

Definition at line 106 of file DocumentProperties.php.

Referenced by getCompany().

PHPExcel_DocumentProperties::$_created
private

Definition at line 57 of file DocumentProperties.php.

Referenced by getCreated().

PHPExcel_DocumentProperties::$_creator
private

Definition at line 43 of file DocumentProperties.php.

Referenced by __construct(), and getCreator().

PHPExcel_DocumentProperties::$_description
private

Definition at line 78 of file DocumentProperties.php.

Referenced by getDescription().

PHPExcel_DocumentProperties::$_keywords
private

Definition at line 92 of file DocumentProperties.php.

Referenced by getKeywords().

PHPExcel_DocumentProperties::$_lastModifiedBy
private

Definition at line 50 of file DocumentProperties.php.

Referenced by getLastModifiedBy().

PHPExcel_DocumentProperties::$_modified
private

Definition at line 64 of file DocumentProperties.php.

Referenced by getModified().

PHPExcel_DocumentProperties::$_subject
private

Definition at line 85 of file DocumentProperties.php.

Referenced by getSubject().

PHPExcel_DocumentProperties::$_title
private

Definition at line 71 of file DocumentProperties.php.

Referenced by getTitle().


The documentation for this class was generated from the following file: