Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
ArticleComment Class Reference
Inheritance diagram for ArticleComment:
DataObject

Public Member Functions

 ArticleComment ()
 
 getArticleId ()
 
 getAssocId ()
 
 getAuthorEmail ()
 
 getAuthorId ()
 
 getAuthorName ()
 
 getCommentId ()
 
 getComments ()
 
 getCommentTitle ()
 
 getCommentType ()
 
 getDateModified ()
 
 getDatePosted ()
 
 getRoleId ()
 
 getRoleName ()
 
 getViewable ()
 
 setArticleId ($articleId)
 
 setAssocId ($assocId)
 
 setAuthorId ($authorId)
 
 setCommentId ($commentId)
 
 setComments ($comments)
 
 setCommentTitle ($commentTitle)
 
 setCommentType ($commentType)
 
 setDateModified ($dateModified)
 
 setDatePosted ($datePosted)
 
 setRoleId ($roleId)
 
 setViewable ($viewable)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 
 DataObject ($callHooks=true)
 
extractMetadata (&$metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
getSupportedExtractionAdapters ()
 
getSupportedInjectionAdapters ()
 
getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata (&$metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
upcastTo (&$targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 

Detailed Description

Class for ArticleComment.

See Also
ArticleCommentDAO

Definition at line 23 of file ArticleComment.inc.php.

Member Function Documentation

ArticleComment::ArticleComment ( )

Constructor.

Definition at line 28 of file ArticleComment.inc.php.

ArticleComment::getArticleId ( )

get article id

Returns
int

Definition at line 97 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getAssocId ( )

get assoc id

Returns
int

Definition at line 113 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getAuthorEmail ( )

get author email

Returns
string

Definition at line 160 of file ArticleComment.inc.php.

References getAuthorId(), DAORegistry\getDAO(), and DataObject\getData().

ArticleComment::getAuthorId ( )

get author id

Returns
int

Definition at line 129 of file ArticleComment.inc.php.

References DataObject\getData().

Referenced by getAuthorEmail(), and getAuthorName().

ArticleComment::getAuthorName ( )

get author name

Returns
string

Definition at line 145 of file ArticleComment.inc.php.

References getAuthorId(), DAORegistry\getDAO(), and DataObject\getData().

ArticleComment::getCommentId ( )

get article comment id

Returns
int

Definition at line 36 of file ArticleComment.inc.php.

References DataObject\getId(), and Config\getVar().

ArticleComment::getComments ( )

get comments

Returns
string

Definition at line 191 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getCommentTitle ( )

get comment title

Returns
string

Definition at line 175 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getCommentType ( )

get comment type

Returns
int

Definition at line 54 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getDateModified ( )

get date modified

Returns
date

Definition at line 223 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getDatePosted ( )

get date posted

Returns
date

Definition at line 207 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getRoleId ( )

get role id

Returns
int

Definition at line 70 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::getRoleName ( )

get role name

Returns
string

Definition at line 86 of file ArticleComment.inc.php.

References DAORegistry\getDAO(), and DataObject\getData().

ArticleComment::getViewable ( )

get viewable

Returns
boolean

Definition at line 239 of file ArticleComment.inc.php.

References DataObject\getData().

ArticleComment::setArticleId (   $articleId)

set article id

Parameters
$articleIdint

Definition at line 105 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setAssocId (   $assocId)

set assoc id

Parameters
$assocIdint

Definition at line 121 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setAuthorId (   $authorId)

set author id

Parameters
$authorIdint

Definition at line 137 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setCommentId (   $commentId)

set article comment id

Parameters
$commentIdint

Definition at line 45 of file ArticleComment.inc.php.

References Config\getVar(), and DataObject\setId().

ArticleComment::setComments (   $comments)

set comments

Parameters
$commentsstring

Definition at line 199 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setCommentTitle (   $commentTitle)

set comment title

Parameters
$commentTitlestring

Definition at line 183 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setCommentType (   $commentType)

set comment type

Parameters
$commentTypeint

Definition at line 62 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setDateModified (   $dateModified)

set date modified

Parameters
$dateModifieddate

Definition at line 231 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setDatePosted (   $datePosted)

set date posted

Parameters
$datePosteddate

Definition at line 215 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setRoleId (   $roleId)

set role id

Parameters
$roleIdint

Definition at line 78 of file ArticleComment.inc.php.

References DataObject\setData().

ArticleComment::setViewable (   $viewable)

set viewable

Parameters
$viewableboolean

Definition at line 247 of file ArticleComment.inc.php.

References DataObject\setData().


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