public function compileJson()
    {
        $report = $this->internalCompile();
        if ($report->getType() == common_report_Report::TYPE_SUCCESS) {
            // replace instances with strign identifiers
            list($item, $publicDirectory, $privateDirectory) = $report->getData();
            $report->setData([$item->getUri(), $publicDirectory->getId(), $privateDirectory->getId()]);
        }
        return $report;
    }
public function compileJson()
    {
        $report = $this->internalCompile();
        if ($report->getType() == common_report_Report::TYPE_SUCCESS) {
            // replace instances with strign identifiers
            list($item, $publicDirectory, $privateDirectory) = $report->getData();
            $report->setData([$item->getUri(), $publicDirectory->getId(), $privateDirectory->getId()]);
        }
        return $report;
    }
public function compileJson ( ) { $ report = $ this -> internalCompile ( ) ; if ( $ report -> getType ( ) == common_report_Report :: TYPE_SUCCESS ) { // replace instances with strign identifiers list ( $ item , $ publicDirectory , $ privateDirectory ) = $ report -> getData ( ) ; $ report -> setData ( [ $ item -> getUri ( ) , $ publicDirectory -> getId ( ) , $ privateDirectory -> getId ( ) ] ) ; } return $ report ; }
Generate JSON version of item
@return array consists of item URI, public directory id and private directory id
Generate JSON version of item