Moodle  2.2.1
http://www.collinsharper.com
user_enrolment_action Class Reference
Inheritance diagram for user_enrolment_action:
Collaboration diagram for user_enrolment_action:

Public Member Functions

 __construct (pix_icon $icon, $title, $url, array $attributes=null)
 get_icon ()
 get_title ()
 get_url ()
 get_attributes ()

Protected Attributes

 $icon
 $title
 $url
 $attributes = array()

Detailed Description

User enrolment action

This class is used to manage a renderable ue action such as editing an user enrolment or deleting a user enrolment.

Definition at line 1116 of file locallib.php.


Constructor & Destructor Documentation

__construct ( pix_icon icon,
title,
url,
array attributes = null 
)

Constructor

Parameters:
pix_icon$icon
string$title
moodle_url$url
array$attributes

Definition at line 1149 of file locallib.php.


Member Function Documentation

Returns the attributes to use for this action

Returns:
array

Definition at line 1187 of file locallib.php.

Here is the caller graph for this function:

get_icon ( )

Returns the icon for this action

Returns:
pix_icon

Definition at line 1163 of file locallib.php.

Here is the caller graph for this function:

get_title ( )

Returns the title for this action

Returns:
string

Definition at line 1171 of file locallib.php.

get_url ( )

Returns the URL for this action

Returns:
moodle_url

Definition at line 1179 of file locallib.php.

Here is the caller graph for this function:


Field Documentation

$attributes = array() [protected]

Definition at line 1140 of file locallib.php.

$icon [protected]

Definition at line 1122 of file locallib.php.

$title [protected]

Definition at line 1128 of file locallib.php.

$url [protected]

Definition at line 1134 of file locallib.php.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Enumerations