system/core/classes/systemdb/plugins/PluginDAO.php
public function postCacheTranslateObject(ModelObject $obj)
    {
        if(strpos($obj->Path, $this->rootPath) === FALSE)
            $obj->setPath($this->rootPath.DIRECTORY_SEPARATOR.$obj->Path);
        return $obj;
    }
public function postCacheTranslateObject(ModelObject $obj)
    {
        if(strpos($obj->Path, $this->rootPath) === FALSE)
            $obj->setPath($this->rootPath.DIRECTORY_SEPARATOR.$obj->Path);
        return $obj;
    }
public function postCacheTranslateObject ( ModelObject $ obj ) { if ( strpos ( $ obj -> Path , $ this -> rootPath ) === FALSE ) $ obj -> setPath ( $ this -> rootPath . DIRECTORY_SEPARATOR . $ obj -> Path ) ; return $ obj ; }
Sets the path and returns the object

@param ModelObject $obj The plugin

@return ModelObject
Sets the path and returns the object