~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Entity/WidgetOption.php

  • Committer: Dan Garner
  • Date: 2015-08-03 13:19:52 UTC
  • mto: This revision was merged to the branch mainline in revision 447.
  • Revision ID: git-v1:51aff4ced58edafab2631842d7de83086daa6e8d
Document Models with Swagger

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
use Xibo\Helper\Log;
27
27
use Xibo\Storage\PDOConnect;
28
28
 
 
29
/**
 
30
 * Class WidgetOption
 
31
 * @package Xibo\Entity
 
32
 *
 
33
 * @SWG\Definition()
 
34
 */
29
35
class WidgetOption implements \JsonSerializable
30
36
{
31
37
    use EntityTrait;
 
38
 
 
39
    /**
 
40
     * @SWG\Property(description="The Widget ID that this Option belongs to")
 
41
     * @var int
 
42
     */
32
43
    public $widgetId;
33
44
 
 
45
    /**
 
46
     * @SWG\Property(description="The option type, either attrib or raw")
 
47
     * @var string
 
48
     */
34
49
    public $type;
 
50
 
 
51
    /**
 
52
     * @SWG\Property(description="The option name")
 
53
     * @var string
 
54
     */
35
55
    public $option;
 
56
 
 
57
    /**
 
58
     * @SWG\Property(description="The option value")
 
59
     * @var string
 
60
     */
36
61
    public $value;
37
62
 
38
63
    public function __toString()