12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class TargetedRss10Action extends Rss10Action
- {
- protected $target = null;
- protected function doStreamPreparation()
- {
- $this->target = User::getByNickname($this->trimmed('nickname'))->getProfile();
- }
- public function getTarget()
- {
- return $this->target;
- }
- function getImage()
- {
- return $this->target->avatarUrl(AVATAR_PROFILE_SIZE);
- }
- }
|