NULL comment(
(object)
$frontend
)
|
|
comment::comment()
// purpose: constructor
Parameters:
NULL __construct(
(object)
$frontend
)
|
|
comment::__construct()
// purpose: constructor for php 5
Parameters:
Redefinition of:
- frontend::__construct()
- frontend::__construct()
string getCommentSubject(
NULL
0
)
|
|
comment::getCommentSubject
// purpose: get subject from object or parent-subject
Parameters:
boolean insertComment(
array
$POST
)
|
|
comment::commentItem
// purpose: write a comment for an object
Parameters:
void readComment(
$oid, int
$id, int
$parent, int
$depth
)
|
|
spunq::readComment()
// purpose: return all comments for a given object
Parameters:
|
int |
$id: |
|
|
int |
$parent: |
|
|
int |
$depth: |
|
|
|
$oid: |
|
void readCommentFlat(
int
$oid,
$parent,
$depth
)
|
|
spunq::readCommentFlat()
// purpose: return all comments for a given object flat
Parameters:
|
int |
$oid: |
|
|
|
$parent: |
|
|
|
$depth: |
|
void readCommentTree(
int
$oid, int
$parent, int
$depth
)
|
|
spunq::readCommentTree()
// purpose: return hole tree-structure for class .. calls itself recursivly
Parameters:
|
int |
$oid: |
|
|
int |
$parent: |
|
|
int |
$depth: |
|
boolean updateCommentCount(
int
$oid
)
|
|
comment::updateCommentCount
// purpose: updates the count attribute for the given object
Parameters: