FML Update

This commit is contained in:
Steffen Schröder
2014-06-21 03:18:21 +02:00
parent 816ff486ef
commit c8d599189c
107 changed files with 2484 additions and 3099 deletions

View File

@ -12,30 +12,10 @@ namespace FML\Controls;
*/
class FileEntry extends Entry {
/*
* Protected Properties
* Protected properties
*/
protected $folder = '';
/**
* Construct a new FileEntry Control
*
* @param string $id (optional) Control Id
*/
public function __construct($id = null) {
parent::__construct($id);
$this->tagName = 'fileentry';
}
/**
* Create a new FileEntry Control
*
* @param string $id (optional) Control Id
* @return \FML\Controls\FileEntry
*/
public static function create($id = null) {
$fileEntry = new FileEntry($id);
return $fileEntry;
}
protected $tagName = 'fileentry';
protected $folder = null;
/**
* @see \FML\Controls\Control::getManiaScriptClass()
@ -45,10 +25,10 @@ class FileEntry extends Entry {
}
/**
* Set Folder
* Set the base folder
*
* @param string $folder Base Folder
* @return \FML\Controls\FileEntry
* @param string $folder Base folder
* @return \FML\Controls\FileEntry|static
*/
public function setFolder($folder) {
$this->folder = (string)$folder;