コード例 #1
0
 /**
  * Counts all associated ClassifiedPosts
  * @return int
  */
 public function CountClassifiedPosts()
 {
     if (is_null($this->intId)) {
         return 0;
     }
     return ClassifiedPost::CountByClassifiedCategoryId($this->intId);
 }