[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/portfolio/mahara/ -> lib.php (summary)

This file contains the class definition for the mahara portfolio plugin

Copyright: 2009 Penny Leach
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 389 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

portfolio_plugin_mahara:: (23 methods):
  init()
  __wakeup()
  get_name()
  get_allowed_config()
  supported_formats()
  expected_time()
  has_admin_config()
  admin_config_form()
  instance_sanity_check()
  plugin_sanity_check()
  get_mnet_hosts()
  prepare_package()
  send_package()
  get_static_continue_url()
  resolve_static_continue_url()
  get_interactive_continue_url()
  steal_control()
  verify_file_request_params()
  send_intent()
  ensure_mnethost()
  fetch_file()
  cleanup()
  resolve_format()


Class: portfolio_plugin_mahara  - X-Ref

init()   X-Ref
No description

__wakeup()   X-Ref
No description

get_name()   X-Ref
No description

get_allowed_config()   X-Ref
No description

supported_formats()   X-Ref
No description

expected_time($callertime)   X-Ref
No description

has_admin_config()   X-Ref
No description

admin_config_form(&$mform)   X-Ref
No description

instance_sanity_check()   X-Ref
No description

plugin_sanity_check()   X-Ref
No description

get_mnet_hosts()   X-Ref
No description

prepare_package()   X-Ref
No description

send_package()   X-Ref
No description

get_static_continue_url()   X-Ref
No description

resolve_static_continue_url($remoteurl)   X-Ref
No description

get_interactive_continue_url()   X-Ref
No description

steal_control($stage)   X-Ref
No description

verify_file_request_params($params)   X-Ref
No description

send_intent()   X-Ref
sends the 'content_intent' ping to mahara
if all goes well, this will set the 'token' and 'sendtype' member variables.


ensure_mnethost()   X-Ref
No description

fetch_file($token)   X-Ref
xmlrpc (mnet) function to get the file.
reads in the file and returns it base_64 encoded
so that it can be enrypted by mnet.

param: string $token the token recieved previously during send_content_intent

cleanup()   X-Ref
No description

resolve_format()   X-Ref
internal helper function, that converts between the format constant,
which might be too specific (eg 'image') and the class in our *supported* list
which might be higher up the format hierarchy tree (eg 'file')




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