Chamilo is a learning management system focused on ease of use and accessibility
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chamilo-lms/src/CoreBundle/Entity/SettingsOptions.php

132 lines
2.2 KiB

<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* SettingsOptions.
*
* @ORM\Table(
* name="settings_options",
* options={"row_format":"DYNAMIC"},
* uniqueConstraints={@ORM\UniqueConstraint(name="unique_setting_option", columns={"variable", "value"})}
* )
* @ORM\Entity
*/
class SettingsOptions
{
/**
* @var int
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue
*/
protected $id;
/**
* @var string
*
* @ORM\Column(name="variable", type="string", length=255, nullable=true)
*/
protected $variable;
/**
* @var string
*
* @ORM\Column(name="value", type="string", length=255, nullable=true)
*/
protected $value;
/**
* @var string
*
* @ORM\Column(name="display_text", type="string", length=255, nullable=false)
*/
protected $displayText;
/**
* Set variable.
*
* @param string $variable
*
* @return SettingsOptions
*/
public function setVariable($variable)
{
$this->variable = $variable;
return $this;
}
/**
* Get variable.
*
* @return string
*/
public function getVariable()
{
return $this->variable;
}
/**
* Set value.
*
* @param string $value
*
* @return SettingsOptions
*/
public function setValue($value)
{
$this->value = $value;
return $this;
}
/**
* Get value.
*
* @return string
*/
public function getValue()
{
return $this->value;
}
/**
* Set displayText.
*
* @param string $displayText
*
* @return SettingsOptions
*/
public function setDisplayText($displayText)
{
$this->displayText = $displayText;
return $this;
}
/**
* Get displayText.
*
* @return string
*/
public function getDisplayText()
{
return $this->displayText;
}
/**
* Get id.
*
* @return int
*/
public function getId()
{
return $this->id;
}
}