Esempio n. 1
0
 /**
  * @copydoc DataSet::loadData
  */
 protected function loadData()
 {
     $result = false;
     switch ($this->getState()) {
         case 'showLogoutForm':
             foreach ($this->getDataDescription()->getFieldDescriptionList() as $fieldName) {
                 $result[] = array($fieldName => $this->document->user->getValue($fieldName));
             }
             break;
         default:
             $result = parent::loadData();
     }
     return $result;
 }