public function render( core_kernel_classes_Resource $item, $langCode)
    {
    	$itemService = taoItems_models_classes_ItemsService::singleton();
    	$file = $itemService->getItemDirectory($item)->getFile('index.html');
        $xhtml = $file->read();

        // Check if all needed APIs are referenced.
        $xhtml = $this->replaceDeprecatedApis($xhtml); // throws ItemModelException.

        return $xhtml;
    }
public function render( core_kernel_classes_Resource $item, $langCode)
    {
    	$itemService = taoItems_models_classes_ItemsService::singleton();
    	$file = $itemService->getItemDirectory($item)->getFile('index.html');
        $xhtml = $file->read();

        // Check if all needed APIs are referenced.
        $xhtml = $this->replaceDeprecatedApis($xhtml); // throws ItemModelException.

        return $xhtml;
    }
public function render ( core_kernel_classes_Resource $ item , $ langCode ) { $ itemService = taoItems_models_classes_ItemsService :: singleton ( ) ; $ file = $ itemService -> getItemDirectory ( $ item ) -> getFile ( 'index.html' ) ; $ xhtml = $ file -> read ( ) ; // Check if all needed APIs are referenced. $ xhtml = $ this -> replaceDeprecatedApis ( $ xhtml ) ; // throws ItemModelException. return $ xhtml ; }
Render an XHTML item.

@access public
@author Joel Bout, <joel@taotesting.com>
@param  Resource item The item to render.
@return string The rendered item.
@throws taoItems_models_classes_ItemModelException
Render an XHTML item .