summaryrefslogtreecommitdiffstats
path: root/src/datasets/property/string.php
blob: a96dab1fc52d98bba9404dd9c18362b7554eb920 (plain)
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
30
<?php
/**
 * File containing the abstract ezcGraphDatasetStringProperty class
 *
 * @package Graph
 * @version $id$
 * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
 * @license http://ez.no/licenses/new_bsd New BSD License
 */
/**
 * Class for string properties of datasets
 *
 * @package Graph
 */
class ezcGraphDatasetStringProperty extends ezcGraphDatasetProperty
{
    /**
     * Converts value to an ezcGraphColor object
     * 
     * @param & $value 
     * @return void
     */
    protected function checkValue( &$value )
    {
        $value = (string) $value;
        return true;
    }
}

?>
OpenPOWER on IntegriCloud