Skip to content

flame-org/FileUploader-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

FileUploader-Component

Simple Nette component for uploading files via AJAX

###Requires

###Usage config.neon

services:
	FileUploaderForm: \Flame\Components\FileUploader\FileUploaderFormFactory
	FileUploaderControl: \Flame\Components\FileUploader\FileUploaderControlFactory

Presenter

	/**
	 * @var \Flame\Components\FileUploader\FileUploaderControlFactory $fileUploader
	 */
	private $fileUploader;

	/**
	 * @param \Flame\Components\FileUploader\FileUploaderControlFactory $fileUploader
	 */
	public function injectFileUploader(\Flame\Components\FileUploader\FileUploaderControlFactory $fileUploader)
	{
		$this->fileUploader = $fileUploader;
	}

	...

	/**
	 * @return \Flame\Components\FileUploader\FileUploaderControl
	 */
	protected function createComponentFileUploader()
	{
		return $this->fileUploader->create();
	}

Template

{control fileUploader}

About

Simple Nette component for uploading files via AJAX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages