バージョン選択

フォーラム

メニュー

オンライン状況

68 人のユーザが現在オンラインです。 (56 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 68
もっと...

サイト内検索

質問 > その他 > oneToManyでfindeしてもデータが取得できない

その他

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
boonen
投稿日時: 2017/3/24 11:22
対応状況: −−−
半人前
登録日: 2017/3/7
居住地:
投稿: 15
Re: oneToManyでfindeしてもデータが取得できない
みなさま、ご回答ありがとうございます。
通知のチェックを入れ忘れていて、ご回答いただいていたことに気づけませんでした。申し訳有りません。

dump処理をしているコントローラーです。
仕方ないので、fortunetellerをfindしてから、tellerscheduleをfindするようにしています。

    public function index(Application $app, Request $request)
    {   
        $fortuneteller = $app['eccube.repository.fortuneteller']->findBy(array('member_id' => $app->user()->getId()));
        dump($fortuneteller);
        $Schedules = $app['eccube.repository.tellerschedule']->findBy(array('fortuneteller_id' => $fortuneteller[0]->getId()), array('date' => 'ASC'));

        $builder = $app['form.factory']->createBuilder();



データでは、fortuneteler_idはちゃんとはいっているので、とれるはずなのですが。。。
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   oneToManyでfindeしてもデータが取得できない boonen 2017/3/19 17:40
     Re: oneToManyでfindeしてもデータが取得できない umebius 2017/3/20 16:35
     Re: oneToManyでfindeしてもデータが取得できない nyorai 2017/3/22 9:24
     Re: oneToManyでfindeしてもデータが取得できない hmorita_j 2017/3/22 10:12
     » Re: oneToManyでfindeしてもデータが取得できない boonen 2017/3/24 11:22
         Re: oneToManyでfindeしてもデータが取得できない nyorai 2017/3/24 11:48
         Re: oneToManyでfindeしてもデータが取得できない hmorita_j 2017/3/24 12:24
           Re: oneToManyでfindeしてもデータが取得できない boonen 2017/3/24 13:55
             Re: oneToManyでfindeしてもデータが取得できない nyorai 2017/3/24 14:17
               Re: oneToManyでfindeしてもデータが取得できない boonen 2017/3/24 14:39
                 Re: oneToManyでfindeしてもデータが取得できない umebius 2017/3/24 14:43
                   Re: oneToManyでfindeしてもデータが取得できない boonen 2017/3/24 16:07
                     Re: oneToManyでfindeしてもデータが取得できない umebius 2017/3/24 16:14
                       Re: oneToManyでfindeしてもデータが取得できない boonen 2017/3/24 17:41
                         Re: oneToManyでfindeしてもデータが取得できない umebius 2017/3/24 21:05
                           Re: oneToManyでfindeしてもデータが取得できない boonen 2017/3/25 11:34
                       Re: oneToManyでfindeしてもデータが取得できない hmorita_j 2017/3/24 18:18

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,971名です
総投稿数は110,019件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1296
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.