Пример #1
0
 private function loadFromDb($locale, $group)
 {
     $labels = TranslationLabelQuery::create()->filterByLanguageCode($locale)->filterByFilename($group)->find()->toKeyValue('key', 'value');
     $nestedLabels = Utility::nestedArray($labels, '.');
     return $nestedLabels;
 }
Пример #2
0
 public function getNestedData()
 {
     $data = $this->getData() + $this->borrower->getPersonalInformation();
     return Utility::nestedArray($data);
 }
Пример #3
0
 public function getNestedData()
 {
     $data = $this->getData();
     return Utility::nestedArray($data);
 }