In various cases I need to sort a Doctrine\Common\Collections\ArrayCollection according to a property in the object. Without finding a method doing that right away, I do this: // $collection instanceof Doctrine\Common\Collections\ArrayCollection $array = $collection->getValues(); usort($array, function($a, $b){ return ($a->getProperty() < $b->getProperty()) ? -1 : 1 ; }); $collection->clear(); for
Symfony Forms can embed a collection of many other forms, which is useful to edit related entities in a single form. In this article, you'll create a form to edit a Task class and, right inside the same form, you'll be able to edit, create and remove many Tag objects related to that Task. Let's start by creating a Task entity: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
2014年12月をもって、約15年勤めた任天堂を退職しました。 思い起こせば、就職氷河期の真っ最中、劣等生の私はなんとか滑りこむ形で入社できました。 入社して10年間は、ハードに関する仕事をしていました。 抜き取り検査員、EMI対策、半導体評価、製品安全法令調査、生産工場の品質指導や不具合是正、トランプ・麻雀牌の品質指導、ライセンスグッズの技術的監修、顧客クレームの技術サポートなどです。 そして、退職間際の四年間、私は「ユーザー目線評価」という業務についていました。 今振り返ると、この業務が一番自分の能力を発揮できた仕事でした。 ユーザー目線評価=任天堂で行う新作ソフトの評価システム。製造本部のベテラン社員にお客さんの視点で遊んでもらい、評価レポートを書いてもらう 出典:任天堂HP 社長が訊く『スーパーマリオ 3Dランド』プロデューサー 篇( http://www.nintendo.c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く