コード例 #1
0
ファイル: Translator.php プロジェクト: Junyue/zidisha2
 private function loadFromDb($locale, $group)
 {
     $labels = TranslationLabelQuery::create()->filterByLanguageCode($locale)->filterByFilename($group)->find()->toKeyValue('key', 'value');
     $nestedLabels = Utility::nestedArray($labels, '.');
     return $nestedLabels;
 }
コード例 #2
0
ファイル: AdminEditForm.php プロジェクト: Junyue/zidisha2
 public function getNestedData()
 {
     $data = $this->getData() + $this->borrower->getPersonalInformation();
     return Utility::nestedArray($data);
 }
コード例 #3
0
ファイル: AbstractForm.php プロジェクト: Junyue/zidisha2
 public function getNestedData()
 {
     $data = $this->getData();
     return Utility::nestedArray($data);
 }