ここの情報は古いです。ご理解頂いた上でお取り扱いください。

source: OpenPNE3/branches/goto_doctrine/apps/pc_frontend/modules/friend/actions/components.class.php @ 11219

Last change on this file since 11219 was 11219, checked in by ebihara, 12 years ago

#3765:imported new models for Doctrine from some old models for Propel to enable to login

File size: 619 bytes
Line 
1<?php
2
3/**
4 * This file is part of the OpenPNE package.
5 * (c) OpenPNE Project (http://www.openpne.jp/)
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file and the NOTICE file that were distributed with this source code.
9 */
10
11class friendComponents extends sfOpenPNEFriendComponents
12{
13  public function executeFriendListBox()
14  {
15    $this->member = sfContext::getInstance()->getUser()->getMember();
16    $this->row = $this->gadget->getConfig('row');
17    $this->col = $this->gadget->getConfig('col');
18    $this->friends = $this->member->getFriends($this->row * $this->col, true);
19  }
20}
Note: See TracBrowser for help on using the repository browser.