Skip to content

Latest commit

 

History

History
120 lines (86 loc) · 2.86 KB

File metadata and controls

120 lines (86 loc) · 2.86 KB

startupItem

  • class startupItem (bundle\windows\result\startupItem) extends abstractItem
  • source bundle/windows/result/startupItem.php

Properties

  • ->title : string - Заголовок
  • ->command : string - Команда для запуска
  • ->file : string - Путь к файлу
  • ->shortcut : string - Путь к ярлыку
  • ->forAllUsers : bool - Для всех пользователей
  • ->location : string - Расположение записи (Реестр, папка startup и т.д.)
  • See also in the parent class abstractItem.

Methods


Methods

__construct()

__construct(mixed $title, mixed $command, mixed $location): void

isForAllUsers()

isForAllUsers(): bool

Автозагрузка для всех пользователей


getFileFromCommand()

getFileFromCommand(mixed $command): void

delete()

delete(): bool

Удалить объект из автозагрузки


getTitle()

getTitle(): string

Заголовок


getCommand()

getCommand(): string

Команда для запуска


getFile()

getFile(): string

Путь к исполняемому файлу


getShortcut()

getShortcut(): string

Путь к ярлыку для запуска


getLocation()

getLocation(): string

Расположение записи для запуска