1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00
ifhub.club/classes/blocks/BlockStreamConfig.class.php

14 lines
552 B
PHP
Raw Normal View History

2011-06-06 14:58:19 +03:00
<?php
class BlockStreamConfig extends Block
{
public function Exec() {
$aTypesList = $this->Stream_getTypesList($this->User_getUserCurrent()->getId());
$this->Viewer_Assign('aStreamTypesList', $aTypesList);
2011-06-06 14:58:19 +03:00
$aUserSubscribes = $this->Stream_getUserSubscribes($this->User_getUserCurrent()->getId());
$aFriends = $this->User_getUsersFriend($this->User_getUserCurrent()->getId());
$this->Viewer_Assign('aStreamSubscribedUsers', $aUserSubscribes);
$this->Viewer_Assign('aStreamFriends', $aFriends);
}
}