83 parent::__construct(
$db,
'comments',
'CommentsComment',
'id',
'title');
142 if (isset($item_id)) {
201 $comment->
setVar($field_name, $field_value);
202 return $this->
insert($comment);
224 $item_id = intval($item_id);
229 $deleted_num = array();
234 if ($poster_id != 0) {
235 $deleted_num[$poster_id] = !isset($deleted_num[$poster_id]) ? 1
236 : ($deleted_num[$poster_id] + 1);
242 foreach ($deleted_num as
$user_id => $post_num) {
246 if (is_object($poster)) {
247 $member_handler->updateUserByField($poster,
'posts', $poster->getVar(
'posts') - $post_num);
if($uname== ''||$pass== '') $member_handler
getCount(CriteriaElement $criteria=null)
insert(XoopsObject $object, $force=true)
getVar($key, $format= 's')
getObjects(CriteriaElement $criteria=null, $id_as_key=false, $as_object=true)
deleteAll(CriteriaElement $criteria, $force=true, $asObject=false)
setVar($key, $value, $not_gpc=false)
initVar($key, $data_type, $value=null, $required=false, $maxlength=null, $options= '')