public function loadContentByContentInfo(ContentInfo $contentInfo, array $languages = null, $versionNo = null, $useAlwaysAvailable = true)
    {
        return $this->service->loadContentByContentInfo($contentInfo, $languages, $versionNo, $useAlwaysAvailable);
    }
public function loadContentByContentInfo(ContentInfo $contentInfo, array $languages = null, $versionNo = null, $useAlwaysAvailable = true)
    {
        return $this->service->loadContentByContentInfo($contentInfo, $languages, $versionNo, $useAlwaysAvailable);
    }
public function loadContentByContentInfo ( ContentInfo $ contentInfo , array $ languages = null , $ versionNo = null , $ useAlwaysAvailable = true ) { return $ this -> service -> loadContentByContentInfo ( $ contentInfo , $ languages , $ versionNo , $ useAlwaysAvailable ) ; }
Loads content in a version for the given content info object.

If no version number is given, the method returns the current version

@throws \eZ\Publish\API\Repository\Exceptions\NotFoundException - if version with the given number does not exist
@throws \eZ\Publish\API\Repository\Exceptions\UnauthorizedException if the user is not allowed to load this version

@param \eZ\Publish\API\Repository\Values\Content\ContentInfo $contentInfo
@param array $languages A language filter for fields. If not given all languages are returned
@param int $versionNo the version number. If not given the current version is returned
@param bool $useAlwaysAvailable Add Main language to \$languages if true (default) and if alwaysAvailable is true

@return \eZ\Publish\API\Repository\Values\Content\Content
Loads content in a version for the given content info object .