예제 #1
0
 /**
  * Counts all associated AssetTransactionsAsDestination
  * @return int
  */
 public function CountAssetTransactionsAsDestination()
 {
     if (is_null($this->intLocationId)) {
         return 0;
     }
     return AssetTransaction::CountByDestinationLocationId($this->intLocationId);
 }