Skip to content

File Management and Helpers

Compare
Choose a tag to compare
@jsavell jsavell released this 02 Oct 21:45
· 150 commits to master since this release
  • Introduces the concept of a Helper service. Similar to getDataRepository(), AbstractSite defines and CoreSite implements a getHelper() method to allow components like Controllers, Repositories, and othe Helpers to request an instance of a Helper to manage common tasks.

  • Pipit Core's first implementation of a Helper is the FileManager for managing of file uploads and manipulation on the file system.

  • Apps can define their own Helpers by placing classes that extend Core\Classes\Helpers\AbstractHelper in Apps\Classes\Helpers