Esempio n. 1
0
 /**
  * Get all the posts a user is subscribed to.
  *
  * @param $user_id
  * @return mixed|void
  */
 public static function subscribed_object_ids($user_id)
 {
     // Using a "fake" post object for PHP 5.2, which doesn't have static method inheritance
     $post = new Prompt_Post(0);
     return $post->_subscribed_object_ids($user_id);
 }