sName = $sName; $this->sFileName = Dict::S('UI:InputFile:NoFileSelected'); $this->sButtonText = Dict::S('UI:InputFile:SelectFile'); $this->bShowFilename = true; } /** * @return string */ public function GetFileName(): string { return $this->sFileName; } /** * @param mixed $sFileName * * @return $this */ public function SetFileName($sFileName) { $this->sFileName = $sFileName; return $this; } /** * @return string */ public function GetButtonText(): string { return $this->sButtonText; } /** * @param string $sButtonText * * @return $this */ public function SetButtonText(string $sButtonText) { $this->sButtonText = $sButtonText; return $this; } /** * @return string */ public function GetName(): string { return $this->sName; } /** * @param bool $bShowFilename * * @return $this */ public function SetShowFilename(bool $bShowFilename) { $this->bShowFilename = $bShowFilename; return $this; } /** * @return bool */ public function GetShowFilename(): bool { return $this->bShowFilename; } }