public function getDataEntry($id, $key)
    {
        if (!isset($this->data[$id])) {
            throw new InvalidArgumentException("Missing row with id $id.");
        }
        if ($this->isAlias($key)) {
            $key = $this->trimAlias($key);
        }
        if (!array_key_exists($key, $this->data[$id])) {
            throw new InvalidArgumentException("Missing '$key' column in row with id $id.", self::ERROR_MISSING_COLUMN);
        }
        return $this->data[$id][$key];
    }
public function getDataEntry($id, $key)
    {
        if (!isset($this->data[$id])) {
            throw new InvalidArgumentException("Missing row with id $id.");
        }
        if ($this->isAlias($key)) {
            $key = $this->trimAlias($key);
        }
        if (!array_key_exists($key, $this->data[$id])) {
            throw new InvalidArgumentException("Missing '$key' column in row with id $id.", self::ERROR_MISSING_COLUMN);
        }
        return $this->data[$id][$key];
    }
public function getDataEntry ( $ id , $ key ) { if ( ! isset ( $ this -> data [ $ id ] ) ) { throw new InvalidArgumentException ( "Missing row with id $id." ) ; } if ( $ this -> isAlias ( $ key ) ) { $ key = $ this -> trimAlias ( $ key ) ; } if ( ! array_key_exists ( $ key , $ this -> data [ $ id ] ) ) { throw new InvalidArgumentException ( "Missing '$key' column in row with id $id." , self :: ERROR_MISSING_COLUMN ) ; } return $ this -> data [ $ id ] [ $ key ] ; }
Gets value of given column from row with given id

@param mixed $id
@param string $key
@return mixed
@throws InvalidArgumentException
Gets value of given column from row with given id