function __construct(\Library\Application $app, $data) { parent::__construct($app); $this->rootDirectory = $app->config()->get(\Library\Enums\AppSettingKeys::RootDocumentUpload); $this->webDirectory = $app->config()->get(\Library\Enums\AppSettingKeys::BaseUrl) . $app->config()->get(\Library\Enums\AppSettingKeys::RootUploadsFolderPath); $this->dataPost = $data["dataPost"]; }
public function __construct(\Library\Application $app, $data) { parent::__construct($app); $this->rootDirectory = $app->config()->get(\Library\Enums\AppSettingKeys::RootDocumentUpload); $this->files = $data["files"]; $this->dataPost = $data["dataPost"]; $this->resultJson = $data["resultJson"]; }
public function __construct(\Library\Application $app) { parent::__construct($app); $this->files = \Library\Core\DirectoryManager::GetFilesNamesRecursively(__ROOT__ . \Library\Enums\ApplicationFolderName::WebJs, "js"); }
public function __construct(\Library\Application $app) { parent::__construct($app); }