protected function define_lti_subplugin_structure() {

        $paths = array();
        $elename = $this->get_namefor('lineitem');
        $elepath = $this->get_pathfor('/lineitems/lineitem');
        $paths[] = new restore_path_element($elename, $elepath);
        return $paths;
    }
protected function define_lti_subplugin_structure() {

        $paths = array();
        $elename = $this->get_namefor('lineitem');
        $elepath = $this->get_pathfor('/lineitems/lineitem');
        $paths[] = new restore_path_element($elename, $elepath);
        return $paths;
    }
protected function define_lti_subplugin_structure ( ) { $ paths = array ( ) ; $ elename = $ this -> get_namefor ( 'lineitem' ) ; $ elepath = $ this -> get_pathfor ( '/lineitems/lineitem' ) ; $ paths [ ] = new restore_path_element ( $ elename , $ elepath ) ; return $ paths ; }
Returns the subplugin structure to attach to the XML element.

@return restore_path_element[] array of elements to be processed on restore.
Returns the subplugin structure to attach to the XML element .