UserData::get( null $key = null )

Get user data by Key


Parameters

$key

(null) (Optional)

Default value: null


Return

(array|bool|mixed)


Source

File: classes/UserData.php

	public function get( $key = null ) {
		$user_data = (array) $this->user_data;
		if ( $key ) {
			return dozent_array_get( $key, $user_data );
		}

		return $user_data;
	}


Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.