Пример #1
0
 public function format()
 {
     $entry = parent::format();
     $entry['type'] = EntryType::EMAIL;
     $entry['value'] = $this->entry['value'];
     /*$this->entry['type'] = EntryType::EMAIL;
       $this->entry['time'] = $this->getTime();
       $this->entry['memory'] = $this->getMemory();
       $this->entry['group'] = $this->groupName;
       $this->entry['label'] = $this->label;
       */
     return $entry;
 }
Пример #2
0
 public function format()
 {
     $entry = parent::format();
     $entry['type'] = EntryType::TABLE;
     $entry['value'] = $this->value;
     /*$entry = array(
           'value'=>$this->value,
           'type'=>EntryType::TABLE,
           'time'=>$this->getTime(),
           'memory'=>$this->getMemory(),
           'group'=>$this->groupName,
           'label'=>$this->label,
       );*/
     return $entry;
 }