It is OOP? though somewhat more abstracted than your examples.
PHP Code:
<?php
include('../Magic/magic.php');
$userSys = new UserSystem();
//get user 2 (me) (all hardcoded for example)
$userObject = $userSys->getUserInfo(2);//2 being my id
echo 'Accounts name is'.$userObject->getAttribute('name');
echo 'Accounts dob is'.$userObject->getAttribute('dob');
echo 'Accounts avatar is'.$userObject->getAttribute('avatar');
//equally if u were logged in you could get your user object via
$me= $userSys->getCurrentUser();//will be guest if not logged in
$myarray= $me->getAttributeArray();//return attributes as array
//some things are accessed via direct accessors though.
$permObj = $me->getPermissions()
//or if we wanted to we can get common options as an array via
$common = $userSys->getCurrentUserCommon();
?>
The only code outside objects at all inside magic itself is the autoloader and config import (plus an installer redirect)