File: Value.php

package info (click to toggle)
php-horde-sesha 1.0.0~beta1-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 924 kB
  • ctags: 443
  • sloc: php: 1,809; xml: 338; makefile: 10; sh: 3
file content (29 lines) | stat: -rw-r--r-- 714 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
 * A Sesha_Entity_Value is an object representing the value(s) for a property in the context of a specific inventory item
 * This is the ORM encapsulation of a row in the sesha_inventory_properties table.
 *
 * @author   Ralf Lang <lang@b1-systems.de>
 * @category Horde
 * @package  Sesha
 */
class Sesha_Entity_Value extends Horde_Rdo_Base
{

    /**
     * Retrieve the txt_datavalue or int_datavalue depending on context
     */
    public function getDataValue()
    {
        return $this->txt_datavalue;
    }

    /**
     * Save the txt_datavalue or int_datavalue depending on context
     */
    public function setDataValue($value)
    {
        return $this->txt_datavalue = $value;
    }
}