Public Member Functions | Static Public Member Functions | Static Public Attributes

ilDummyBlockGUI Class Reference

BlockGUI class for dummy block. More...

Inheritance diagram for ilDummyBlockGUI:
Collaboration diagram for ilDummyBlockGUI:

Public Member Functions

 ilDummyBlockGUI ()
 Constructor.
 setBlock ($a_block)
 Do most of the initialisation.
executeCommand ()
 execute command
 fillDataSection ()
 Fill data section.
 getHTML ()
 Get block HTML code.

Static Public Member Functions

static getBlockType ()
 Get block type.
static setBlockType ($a_type)
 Set block type.
static isRepositoryObject ()
 Is this a repository object.
static getScreenMode ()
 Get Screen Mode for current command.

Static Public Attributes

static $block_type = ""

Detailed Description

BlockGUI class for dummy block.

Only used for moving, if block is not visible

Author:
Alex Killing <alex.killing@gmx.de>
Version:
$Id$

ilDummyBlockGUI: ilColumnGUI

Definition at line 35 of file class.ilDummyBlockGUI.php.


Member Function Documentation

& ilDummyBlockGUI::executeCommand (  ) 

execute command

Definition at line 103 of file class.ilDummyBlockGUI.php.

References $cmd, and $ilCtrl.

        {
                global $ilCtrl;

                $next_class = $ilCtrl->getNextClass();
                $cmd = $ilCtrl->getCmd("getHTML");

                switch ($next_class)
                {
                        default:
                                return $this->$cmd();
                }
        }

ilDummyBlockGUI::fillDataSection (  ) 

Fill data section.

Reimplemented from ilBlockGUI.

Definition at line 120 of file class.ilDummyBlockGUI.php.

References $lng, and ilBlockGUI::setDataSection().

        {
                global $lng;

                $this->setDataSection($lng->txt("invisible_block_mess"));
        }

Here is the call graph for this function:

static ilDummyBlockGUI::getBlockType (  )  [static]

Get block type.

Returns:
string Block type.

Reimplemented from ilBlockGUI.

Definition at line 57 of file class.ilDummyBlockGUI.php.

        {
                return self::$block_type;
        }

ilDummyBlockGUI::getHTML (  ) 

Get block HTML code.

Reimplemented from ilBlockGUI.

Definition at line 130 of file class.ilDummyBlockGUI.php.

References $ilCtrl, $ilSetting, and $lng.

        {
                global $ilCtrl, $lng, $ilUser, $ilAccess, $ilSetting;
                
                return parent::getHTML();
        }

static ilDummyBlockGUI::getScreenMode (  )  [static]

Get Screen Mode for current command.

Reimplemented from ilBlockGUI.

Definition at line 86 of file class.ilDummyBlockGUI.php.

References $ilCtrl.

        {
                global $ilCtrl;
                
                return IL_SCREEN_SIDE;
        }

ilDummyBlockGUI::ilDummyBlockGUI (  ) 

Constructor.

Definition at line 42 of file class.ilDummyBlockGUI.php.

References $ilCtrl, $lng, and ilBlockGUI::setLimit().

        {
                global $ilCtrl, $lng;
                
                parent::__construct();
                
                $this->setLimit(5);
                $this->allow_moving = true;
        }

Here is the call graph for this function:

static ilDummyBlockGUI::isRepositoryObject (  )  [static]

Is this a repository object.

Returns:
string Block type.

Reimplemented from ilBlockGUI.

Definition at line 77 of file class.ilDummyBlockGUI.php.

        {
                return false;
        }

ilDummyBlockGUI::setBlock ( a_block  ) 

Do most of the initialisation.

Definition at line 96 of file class.ilDummyBlockGUI.php.

        {
        }

static ilDummyBlockGUI::setBlockType ( a_type  )  [static]

Set block type.

Returns:
string Block type.

Definition at line 67 of file class.ilDummyBlockGUI.php.

        {
                self::$block_type = $a_type;
        }


Field Documentation

ilDummyBlockGUI::$block_type = "" [static]

Definition at line 37 of file class.ilDummyBlockGUI.php.


The documentation for this class was generated from the following file: