/** * Индексная страница * * @param $args array mixed * @return void */ function index() { if ($this->_user->getId()) { $this->addToRes('profile', array('integration' => array('email' => $this->_user->getUserProps('user_service_mail'), 'account' => Account_Model::findBoundWithAmt($this->_user->getId())))); } }