1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-01 05:55:02 +03:00
ifhub.club/classes/blocks/BlockUserfeedUsers.class.php

13 lines
420 B
PHP
Raw Normal View History

2011-05-30 17:14:56 +03:00
<?php
class BlockUserfeedUsers extends Block
{
public function Exec() {
2011-07-31 10:08:27 +03:00
if ($oUserCurrent = $this->User_getUserCurrent()) {
$aUserSubscribes = $this->Userfeed_getUserSubscribes($oUserCurrent->getId());
$aFriends = $this->User_getUsersFriend($oUserCurrent->getId());
$this->Viewer_Assign('aUserfeedSubscribedUsers', $aUserSubscribes['users']);
$this->Viewer_Assign('aUserfeedFriends', $aFriends);
}
}
2011-05-30 17:14:56 +03:00
}