public static function GetSoapArrayFromArray($objArray)
 {
     if (!$objArray) {
         return null;
     }
     $objArrayToReturn = array();
     foreach ($objArray as $objObject) {
         array_push($objArrayToReturn, WpWtiLikePost::GetSoapObjectFromObject($objObject, true));
     }
     return unserialize(serialize($objArrayToReturn));
 }
Exemplo n.º 2
0
 /**
  * Counts all associated WpWtiLikePostsAsUser
  * @return int
  */
 public function CountWpWtiLikePostsAsUser()
 {
     if (is_null($this->intId)) {
         return 0;
     }
     return WpWtiLikePost::CountByUserId($this->intId);
 }