FML/Controls/Control.php
public function getDataAttribute($name)
    {
        if (isset($this->dataAttributes[$name])) {
            return $this->dataAttributes[$name];
        }
        return null;
    }
public function getDataAttribute($name)
    {
        if (isset($this->dataAttributes[$name])) {
            return $this->dataAttributes[$name];
        }
        return null;
    }
public function getDataAttribute ( $ name ) { if ( isset ( $ this -> dataAttributes [ $ name ] ) ) { return $ this -> dataAttributes [ $ name ] ; } return null ; }
Get data attribute

@api
@param string $name Name
@return mixed
Get data attribute