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

Public Member Functions

 __construct ($session, $store, $id, $description=null, $major=false)
 __get ($name)
 getSession ()
 getStore ()
 getId ()
 getDescription ()
 getMajor ()
 getType ()
 getProperties ()
 getAspects ()

Detailed Description

Version class

Author:
Roy Wetherall

Definition at line 33 of file Version.php.


Constructor & Destructor Documentation

__construct ( session,
store,
id,
description = null,
major = false 
)

Constructor

Parameters:
$sessionthe session that the version is tied to
@storethe store that the forzen node is stored in the id of the frozen node
@descriptionthe description of the version
@majorindicates whether this is a major or minor revision

Definition at line 53 of file Version.php.


Member Function Documentation

__get ( name)

__get override.

If called with a valid property short name, the frozen value of that property is returned.

Returns:
String the appropriate property value, null if none found

Reimplemented from BaseObject.

Definition at line 72 of file Version.php.

Definition at line 138 of file Version.php.

Definition at line 118 of file Version.php.

getId ( )

Definition at line 113 of file Version.php.

getMajor ( )

Definition at line 123 of file Version.php.

Definition at line 133 of file Version.php.

Gets session

Returns:
Session the session

Definition at line 98 of file Version.php.

getStore ( )

Get the frozen nodes store

Returns:
Store the store

Definition at line 108 of file Version.php.

getType ( )

Definition at line 128 of file Version.php.


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