source/Application/Model/Article.php
public function getPictureFieldValue($sFieldName, $iIndex = null)
    {
        if ($sFieldName) {
            $sFieldName = "oxarticles__" . $sFieldName . $iIndex;

            return $this->$sFieldName->value;
        }
    }
public function getPictureFieldValue($sFieldName, $iIndex = null)
    {
        if ($sFieldName) {
            $sFieldName = "oxarticles__" . $sFieldName . $iIndex;

            return $this->$sFieldName->value;
        }
    }
public function getPictureFieldValue ( $ sFieldName , $ iIndex = null ) { if ( $ sFieldName ) { $ sFieldName = "oxarticles__" . $ sFieldName . $ iIndex ; return $ this -> $ sFieldName -> value ; } }
Return article picture file name

@param string $sFieldName article picture field name
@param int    $iIndex     article picture index

@return string
Return article picture file name