static function get($key = null, $default = null) { if (empty($key)) { return self::$lang; } return a::get(self::$lang, $key, $default); }
public function __construct() { $this->type = 'text'; $this->icon = 'user'; $this->label = l::get('fields.user.label', 'User'); $this->placeholder = l::get('fields.user.placeholder', 'Username…'); }