function canPublishForObject($object_id, $object_group) { return $this->userID && $this->canPublishForMyObject && $this->userID == JCommentsObjectHelper::getOwner($object_id, $object_group) ? 1 : 0; }
/** * @deprecated As of version 2.0 * @see JCommentsObjectHelper::getOwner() */ function getObjectOwner($object_id, $object_group = 'com_content') { return JCommentsObjectHelper::getOwner($object_id, $object_group); }