Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/pagelib.php File Reference

Go to the source code of this file.

Data Structures

class  moodle_page
class  page_base
class  page_course
class  page_generic_activity

Namespaces

namespace  core

Functions

 page_import_types ($path)
 page_create_instance ($instance)
 page_create_object ($type, $id=NULL)
 page_map_class ($type, $classname=NULL)

Function Documentation

page_create_instance ( instance)
Deprecated:
since Moodle 2.0 Do not use this any more. The global $PAGE is automatically created for you. If you need custom behaviour, you should just set properties of that object.
Parameters:
integer$instancelegacy page instance id.
Returns:
the global $PAGE object.

Definition at line 1741 of file pagelib.php.

Here is the call graph for this function:

page_create_object ( type,
id = NULL 
)
Deprecated:
since Moodle 2.0 Do not use this any more. The global $PAGE is automatically created for you. If you need custom behaviour, you should just set properties of that object.

Definition at line 1751 of file pagelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

page_import_types ( path)
Deprecated:
since Moodle 2.0 Not needed any more.
Parameters:
$paththe folder path
Returns:
array an array of page types.

Definition at line 1729 of file pagelib.php.

Here is the call graph for this function:

page_map_class ( type,
classname = NULL 
)
Deprecated:
since Moodle 2.0 You should not be writing page subclasses any more. Just set properties on the global $PAGE object to control its behaviour.

Definition at line 1798 of file pagelib.php.

Here is the call graph for this function:

Here is the caller graph for this function:

 All Data Structures Namespaces Files Functions Variables Enumerations