[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/blocks/myprofile/ -> block_myprofile.php (summary)

Block displaying information about current logged-in user. This block can be used as anti cheating measure, you can easily check the logged-in user matches the person operating the computer.

Author: Olav Jordan <olav.jordan@remote-learner.ca>
Copyright: 2010 Remote-Learner.net
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 238 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

block_myprofile:: (9 methods):
  init()
  get_content()
  has_config()
  instance_allow_multiple()
  instance_allow_config()
  specialization()
  applicable_formats()
  after_install()
  before_delete()


Class: block_myprofile  - X-Ref

Displays the current user's profile information.

init()   X-Ref
block initializations


get_content()   X-Ref
block contents

return: object

has_config()   X-Ref
allow the block to have a configuration page

return: boolean

instance_allow_multiple()   X-Ref
allow more than one instance of the block on a page

return: boolean

instance_allow_config()   X-Ref
allow instances to have their own configuration

return: boolean

specialization()   X-Ref
instance specialisations (must have instance allow config true)


applicable_formats()   X-Ref
locations where block can be displayed

return: array

after_install()   X-Ref
post install configurations


before_delete()   X-Ref
post delete configurations




Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1