👁 查看:CommunityConfigPeer.php
路径:/virtual/bigbrother/sns/lib/model/CommunityConfigPeer.php
大小:743 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.
 */

class CommunityConfigPeer extends BaseCommunityConfigPeer
{
  public static function retrievesByCommunityId($communityId)
  {
    $c = new Criteria();
    $c->add(self::COMMUNITY_ID, $communityId);

    return self::doSelect($c);
  }

  public static function retrieveByNameAndCommunityId($name, $communityId)
  {
    $c = new Criteria();
    $c->add(self::NAME, $name);
    $c->add(self::COMMUNITY_ID, $communityId);

    $result = self::doSelectOne($c);

    return $result;
  }
}
ページが見つかりませんでした – Lumiere Shop
ここを指しているリンクに誤りがあったようです。検索してみるのはいかがですか ?
お買い物カゴ