public function getDataItem($itemname)
    {
        if (isset($this->data[$itemname])) {
            return $this->data[$itemname];
        }

        return null;
    }
public function getDataItem($itemname)
    {
        if (isset($this->data[$itemname])) {
            return $this->data[$itemname];
        }

        return null;
    }
public function getDataItem ( $ itemname ) { if ( isset ( $ this -> data [ $ itemname ] ) ) { return $ this -> data [ $ itemname ] ; } return null ; }
Get an item from the internal data array

This is a short cut function to ensure that we test that the item
exists in the data array before we try to retrieve it.

@param $itemname
@return mixed|null
Get an item from the internal data array