Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/blocks/moodleblock.class.php File Reference

Go to the source code of this file.

Data Structures

class  block_base
class  block_list
class  block_tree

Namespaces

namespace  core
namespace  blocks

Enumerations

enum  BLOCK_TYPE_LIST
 Constants. More...
enum  BLOCK_TYPE_TEXT
enum  BLOCK_TYPE_TREE

Enumeration Type Documentation

Constants.

Block type of list. Contents of block should be set as an associative array in the content object as items ($this->content->items). Optionally include footer text in $this->content->footer.

Definition at line 31 of file moodleblock.class.php.

Block type of text. Contents of block should be set to standard html text in the content object as items ($this->content->text). Optionally include footer text in $this->content->footer.

Definition at line 36 of file moodleblock.class.php.

Block type of tree. $this->content->items is a list of tree_item objects and $this->content->footer is a string.

Definition at line 40 of file moodleblock.class.php.

 All Data Structures Namespaces Files Functions Variables Enumerations