/** * Counts all associated WikiItemsAsCurrentPostedBy * @return int */ public function CountWikiItemsAsCurrentPostedBy() { if (is_null($this->intId)) { return 0; } return WikiItem::CountByCurrentPostedByPersonId($this->intId); }