1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-03 06:55:03 +03:00
ifhub.club/application/classes/blocks/BlockActivityUsers.class.php

36 lines
934 B
PHP
Raw Normal View History

2011-06-06 14:58:19 +03:00
<?php
/*-------------------------------------------------------
*
* LiveStreet Engine Social Networking
* Copyright © 2008 Mzhelskiy Maxim
*
*--------------------------------------------------------
*
* Official site: www.livestreet.ru
* Contact e-mail: rus.engine@gmail.com
*
* GNU General Public License, version 2:
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
*
---------------------------------------------------------
*/
2011-06-06 14:58:19 +03:00
/**
2013-05-04 17:10:22 +03:00
* Блок выбора пользователей для чтения в ленте активности
*
* @package blocks
* @since 1.0
*/
2013-05-04 17:10:22 +03:00
class BlockActivityUsers extends Block {
/**
* Запуск обработки
*/
2011-06-06 14:58:19 +03:00
public function Exec() {
/**
* пользователь авторизован?
*/
if ($oUserCurrent = $this->User_getUserCurrent()) {
2014-07-18 18:45:16 +03:00
$this->Viewer_Assign('users', $this->Stream_getUserSubscribes($oUserCurrent->getId()));
}
}
}