Beispiel #1
0
 public function getDefaultProperties()
 {
     $default = $this->source->getDefaultProperties();
     $default = $this->source->prepareProperties($default);
     $data = array();
     foreach ($default as $property) {
         $data[] = array($property['name'], !empty($property['desc']) ? $property['desc'] : '', !empty($property['type']) ? $property['type'] : 'textfield', !empty($property['options']) ? $property['options'] : array(), $property['value'], !empty($property['lexicon']) ? $property['lexicon'] : '', 0, !empty($property['desc_trans']) ? $property['desc_trans'] : '', !empty($property['name_trans']) ? $property['name_trans'] : '');
     }
     $this->sourceDefaultProperties = $data;
     return $data;
 }