Beispiel #1
0
 /**
  * buildInput
  *
  * @param array $attrs
  *
  * @return  string
  */
 public function buildInput($attrs)
 {
     $warder = WarderHelper::getPackage();
     $this->package = $this->get('package') ?: WarderHelper::getAdminPackage(true);
     $this->table = $this->get('table') ?: WarderTable::USERS;
     $langPrefix = $this->get('lang_prefix') ?: $warder->get('admin.language.prefix');
     $this->def('buttonText', '<i class="glyphicon glyphicon-user fa fa-user"></i> ' . Translator::translate($langPrefix . 'user.modal.field.button.select'));
     return parent::buildInput($attrs);
 }