src/Px.php
public function datum($indices)
    {
        $this->assertData();

        $index = $this->index($indices);
        if (isset($this->data[$index])) {
            return $this->data[$index];
        } else {
            return null;
        }
    }
public function datum($indices)
    {
        $this->assertData();

        $index = $this->index($indices);
        if (isset($this->data[$index])) {
            return $this->data[$index];
        } else {
            return null;
        }
    }
public function datum ( $ indices ) { $ this -> assertData ( ) ; $ index = $ this -> index ( $ indices ) ; if ( isset ( $ this -> data [ $ index ] ) ) { return $ this -> data [ $ index ] ; } else { return null ; } }
Gets a single data point.

@param array $indices An array of all value indices

@return string
Gets a single data point .