Project

General

Profile

Bug #85798 » FileMount.patched.php

lines 54 / 128-131 / 138 - 141 - Ingo Reuter, 2018-08-10 01:26

 
<?php
namespace TYPO3\CMS\Extbase\Domain\Model;

/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/

/**
* This model represents a file mount.
*
* @api
*/
class FileMount extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{
/**
* Title of the file mount.
*
* @var string
* @validate notEmpty
*/
protected $title = '';

/**
* Description of the file mount.
*
* @var string
*/
protected $description;

/**
* Path of the file mount.
*
* @var string
* @validate notEmpty
*/
protected $path = '';

/**
* Uid of the storage in which the file mount is defined.
*
*
*
* @var int
*/
protected $storageUid;

/**
* Determines whether this file mount should be read only.
*
* @var bool
*/
protected $readOnly = false;

/**
* Getter for the title of the file mount.
*
* @return string
*/
public function getTitle()
{
return $this->title;
}

/**
* Setter for the title of the file mount.
*
* @param string $value
*/
public function setTitle($value)
{
$this->title = $value;
}

/**
* Getter for the description of the file mount.
*
* @return string
*/
public function getDescription()
{
return $this->description;
}

/**
* Setter for the description of the file mount.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}

/**
* Getter for the path of the file mount.
*
* @return string
*/
public function getPath()
{
return $this->path;
}

/**
* Setter for the path of the file mount.
*
* @param string $value
*/
public function setPath($value)
{
$this->path = $value;
}

/**
* Getter for the storage's uid in which the file mount is defined.
*
* @return int
*/
public function getStorageUid()
{
return $this->storageUid;
}

/**
* Setter for the storage's uid in which the file mount is defined.
*
* @param int $value
*/
public function setStorageUid($value)
{
$this->storage = $value;
}

/**
* Setter for the readOnly property of the file mount.
*
* @param bool $readOnly
*/
public function setReadOnly($readOnly)
{
$this->readOnly = $readOnly;
}

/**
* Getter for the readOnly property of the file mount.
*
* @return bool
*/
public function isReadOnly()
{
return $this->readOnly;
}
}
(4-4/4)