public function GetID($ActivityID, $DataType = FALSE) {
      $Activity = parent::GetID($ActivityID, $DataType);
      if ($Activity) {
         $this->CalculateRow($Activity);
         $Activities = array($Activity);
         self::JoinUsers($Activities);
         $Activity = array_pop($Activities);
      }
      
      return $Activity;
   }
public function GetID($ActivityID, $DataType = FALSE) {
      $Activity = parent::GetID($ActivityID, $DataType);
      if ($Activity) {
         $this->CalculateRow($Activity);
         $Activities = array($Activity);
         self::JoinUsers($Activities);
         $Activity = array_pop($Activities);
      }
      
      return $Activity;
   }
public function GetID ( $ ActivityID , $ DataType = FALSE ) { $ Activity = parent :: GetID ( $ ActivityID , $ DataType ) ; if ( $ Activity ) { $ this -> CalculateRow ( $ Activity ) ; $ Activities = array ( $ Activity ) ; self :: JoinUsers ( $ Activities ) ; $ Activity = array_pop ( $ Activities ) ; } return $ Activity ; }
Get a particular activity record.

@since 2.0.0
@access public
@param int $ActivityID Unique ID of activity item.
@return array|object A single SQL result.
Get a particular activity record .