👁 查看:sfOpenPNECommunityComponents.class.php
路径:/virtual/bigbrother/sns/lib/action/sfOpenPNECommunityComponents.class.php
大小:696 B · 修改:2010-08-10 13:59:42 · 权限:0644 · 可写
<?php
/**
* This file is part of the OpenPNE package.
* (c) OpenPNE Project (http://www.openpne.jp/)
*
* For the full copyright and license information, please view the LICENSE
* file and the NOTICE file that were distributed with this source code.
*/
/**
* sfOpenPNECommunityComponents
*
* @package OpenPNE
* @subpackage action
* @author Shogo Kawahara <kawahara@tejimaya.net>
*/
abstract class sfOpenPNECommunityComponents extends sfComponents
{
public function executeCautionAboutCommunityMemberPre()
{
$memberId = sfContext::getInstance()->getUser()->getMemberId();
$this->communityMembers = CommunityMemberPeer::getCommunityMembersPre($memberId);
}
}