Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['rows' => $this->get('rows', 3)] + parent::toArray();
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['multiple' => $this->many, 'accepts' => $this->get('accepts', $this->defaultAccepts()), 'unique' => true] + parent::toArray();
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['multiple' => $this->isMultiple(), 'reference' => $this->reference->getId()] + parent::toArray();
 }
Esempio n. 4
0
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['chars' => $this->chars, 'field' => $this->field, 'separator' => $this->separator] + parent::toArray();
 }
Esempio n. 5
0
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['append' => Helpers::tryTranslate($this->get('append')), 'prepend' => Helpers::tryTranslate($this->get('prepend'))] + parent::toArray();
 }
Esempio n. 6
0
File: Code.php Progetto: cruddy/ace
 /**
  * {@inheritdoc}
  */
 public function toArray()
 {
     return ['height' => $this->get('height', config('ace.height', 250)), 'theme' => $this->get('theme', config('ace.theme', 'chrome')), 'mode' => $this->get('mode'), 'wordwrap' => $this->get('wordwrap', config('ace.wordwrap', true))] + parent::toArray();
 }