Dozent LMS developer documentation

  • Go To DozentLMS.com
Skip to content
Filter by type:
Search
Browse: Home / Classes / Model / Model::getAttribute()

Model::getAttribute( $key )


Source

File: Model/Model.php

	public function getAttribute( $key ) {
		$value = dozent_array_get( $key, $this->columns );

		return $value;
	}

Expand full source code Collapse full source code


Related

Uses

Uses
Uses Description
includes/core-functions.php: dozent_array_get()

Return array value by given key, Get array key by dot notation

Used By

Used By
Used By Description
Model/Model.php: Model::__get()

Dynamically retrieve attributes on the model.

© 2023, Dozent LMS