Exemplo n.º 1
0
 public function save()
 {
     $name = $this->name();
     if (\Input::has($name)) {
         \Input::merge(array($name => password_hash($this->value(), PASSWORD_BCRYPT)));
         parent::save();
     }
 }
Exemplo n.º 2
0
 public function save()
 {
     $name = $this->name();
     if (\Request::has($name)) {
         if ($this->useSentinel()) {
             \Request::merge(array($name => password_hash($this->value(), PASSWORD_BCRYPT)));
             parent::save();
         } else {
             parent::save();
         }
     }
 }
Exemplo n.º 3
0
 public function getParams()
 {
     return parent::getParams() + ['placement' => $this->placement(), 'addon' => $this->addon()];
 }
Exemplo n.º 4
0
 public function initialize()
 {
     parent::initialize();
     $this->di->get('assets')->collection('ckEditorFormItemJs')->addJs('backend-assets/ckeditor/ckeditor.js');
 }
Exemplo n.º 5
0
 public function getParams()
 {
     return parent::getParams() + ['name' => $this->name(), 'label' => $this->label(), 'readonly' => $this->readonly(), 'value' => $this->value(), 'rows' => $this->rows()];
 }
 /**
  * @return array
  */
 public function getParams()
 {
     return parent::getParams() + ['name' => $this->getName(), 'label' => $this->getLabel(), 'readonly' => $this->isReadonly(), 'value' => $this->getValue(), 'rows' => $this->getRows()];
 }