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

Changeset 8848


Ignore:
Timestamp:
Oct 28, 2008, 2:57:06 PM (11 years ago)
Author:
ebihara
Message:

#2885:added community/home for mobile phone

Location:
OpenPNE3/trunk/apps/mobile_frontend/modules/community
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/mobile_frontend/modules/community/actions/actions.class.php

    r8847 r8848  
    1818    $this->isAdmin = CommunityMemberPeer::isAdmin($this->getUser()->getMemberId(), $this->id);
    1919    $this->isEditCommunity = $this->isAdmin;
     20  }
     21
     22 /**
     23  * Executes home action
     24  *
     25  * @param sfRequest $request A request object
     26  */
     27  public function executeHome($request)
     28  {
     29    $this->community = CommunityPeer::retrieveByPk($this->id);
     30    $this->forward404Unless($this->community, 'Undefined community.');
    2031  }
    2132
Note: See TracChangeset for help on using the changeset viewer.