huge fml update

This commit is contained in:
Steffen Schröder
2014-01-19 19:30:21 +01:00
parent 9654b26f2b
commit 771409b8eb
66 changed files with 2303 additions and 134 deletions

View File

@ -16,6 +16,19 @@ class InstallPack implements Element {
protected $file = '';
protected $url = '';
/**
* Create a new InstallPack Element
*
* @param string $name (optional) Pack Name
* @param string $file (optional) Pack File
* @param string $url (optional) Pack Url
* @return \FML\ManiaCode\InstallPack
*/
public static function create($name = null, $file = null, $url = null) {
$installPack = new InstallPack($name, $file, $url);
return $installPack;
}
/**
* Construct a new InstallPack Element
*
@ -40,7 +53,7 @@ class InstallPack implements Element {
*
* @param string $name Pack Name
* @return \FML\ManiaCode\InstallPack
*/
*/
public function setName($name) {
$this->name = (string) $name;
return $this;