public function getFileLink($fileId, $target)
    {
        $file = Yii::$app->storage->getFile($fileId);
        if ($file) {
            $file->setTarget($target);
        }
        return $file;
    }
public function getFileLink($fileId, $target)
    {
        $file = Yii::$app->storage->getFile($fileId);
        if ($file) {
            $file->setTarget($target);
        }
        return $file;
    }
public function getFileLink ( $ fileId , $ target ) { $ file = Yii :: $ app -> storage -> getFile ( $ fileId ) ; if ( $ file ) { $ file -> setTarget ( $ target ) ; } return $ file ; }
Get a File Link Object.

@param integer $fileId
@param string $target
@return \luya\admin\file\Item|boolean
Get a File Link Object .