Initial commit

This commit is contained in:
2018-04-02 08:07:38 +02:00
commit 7330c1ed3e
2054 changed files with 405203 additions and 0 deletions

View File

@@ -0,0 +1,86 @@
<?php
namespace FluidTYPO3\Vhs\Tests\Fixtures\Domain\Model;
/*
* This file is part of the FluidTYPO3/Vhs project under GPLv2 or later.
*
* For the full copyright and license information, please read the
* LICENSE.md file that was distributed with this source code.
*/
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
/**
* @author Björn Fromme <fromme@dreipunktnull.com>, dreipunktnull
* @package Vhs
*/
class Bar extends AbstractEntity {
/**
* @var string
*/
protected $name;
/**
* @var \FluidTYPO3\Vhs\Tests\Fixtures\Domain\Model\Foo
*/
protected $foo;
/**
* @var ObjectStorage<\FluidTYPO3\Vhs\Tests\Fixtures\Domain\Model\Bar>
*/
protected $bars = array();
/**
* Constructor
*/
public function __construct() {
$this->bars = new ObjectStorage();
}
/**
* @return string
*/
public function getName() {
return $this->name;
}
/**
* @param string $name
* @return void
*/
public function setName($name) {
$this->name = $name;
}
/**
* @return Foo
*/
public function getFoo() {
return $this->foo;
}
/**
* @param Foo $foo
* @return void
*/
public function setFoo(Foo $foo) {
$this->foo = $foo;
}
/**
* @return ObjectStorage<Bar>
*/
public function getBars() {
return $this->bars;
}
/**
* @param ObjectStorage<Bar> $bars
*/
public function setbars($bars) {
$this->bars = $bars;
}
}

View File

@@ -0,0 +1,98 @@
<?php
namespace FluidTYPO3\Vhs\Tests\Fixtures\Domain\Model;
/*
* This file is part of the FluidTYPO3/Vhs project under GPLv2 or later.
*
* For the full copyright and license information, please read the
* LICENSE.md file that was distributed with this source code.
*/
use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
use TYPO3\CMS\Extbase\Persistence\ObjectStorage;
/**
* @author Björn Fromme <fromme@dreipunktnull.com>, dreipunktnull
* @package Vhs
*/
class Foo extends AbstractEntity {
/**
* @var string
*/
protected $name;
/**
* @var string
* @validate NotEmpty
*/
protected $bar;
/**
* @var Foo
*/
protected $foo;
/**
* @var ObjectStorage<Foo>
*/
protected $children;
public function __construct() {
$this->bar = 'baz';
$this->children = new ObjectStorage();
}
/**
* @return string
*/
public function getName() {
return $this->name;
}
/**
* @param string $name
* @return void
*/
public function setName($name) {
$this->name = $name;
}
/**
* @return string
*/
public function getBar() {
return $this->bar;
}
/**
* @param Foo $foo
*/
public function setFoo($foo) {
$this->foo = $foo;
}
/**
* @return Foo
*/
public function getFoo() {
return $this->foo;
}
/**
* @return ObjectStorage<Foo>
*/
public function getChildren() {
return $this->children;
}
/**
* @param Foo $child
* @return Foo
*/
public function addChild(Foo $child) {
$this->children->attach($child);
return $this;
}
}

View File

@@ -0,0 +1 @@
foo;bar;baz
1 foo bar baz

View File

@@ -0,0 +1 @@
alert('Hello world');

View File

@@ -0,0 +1,5 @@
Foo
Foo
Foo

View File

@@ -0,0 +1 @@
no extension

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB