MCPcopy Create free account
hub / github.com/Alex-developer/agsattrack / read_attribute

Method read_attribute

php/framework/libs/o/lib/Model.php:473–522  ·  view source on GitHub ↗

* Retrieves an attribute's value or a relationship object based on the name passed. If the attribute * accessed is 'id' then it will return the model's primary key no matter what the actual attribute name is * for the primary key. * * @param string $name Name of an attribute * @return mixed The value of the attribute * @throws UndefinedPropertyException if name could not be res

($name)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

__getMethod · 0.95
get_nameMethod · 0.45
get_stateMethod · 0.45

Calls 6

get_primary_keyMethod · 0.95
is_delegatedMethod · 0.95
tableMethod · 0.45
get_relationshipMethod · 0.45
loadMethod · 0.45
__getMethod · 0.45

Tested by 2

get_nameMethod · 0.36
get_stateMethod · 0.36