Example #1
0
 /**
  * Counts all associated AssetModels
  * @return int
  */
 public function CountAssetModels()
 {
     if (is_null($this->intCategoryId)) {
         return 0;
     }
     return AssetModel::CountByCategoryId($this->intCategoryId);
 }