Equivalent to nodeprofile_load for the module CONTENT PROFILE?
Hi!
Can anybody help me telling me what is the equivalent function to nodeprofile_load (valid for the module node profile) for the module content profile?
Thanks in advance,
Gabriel
Groups:
Login to post comments
Hi, It would be this
Hi,
It would be this function in content_profile.module:
<?php/**
* Loads the node, like node_load but makes sure the results are cached.
*
* @param $type
* The content profile's type
* @param $uid
* The profile owner's user id
* @param $lang
* Optional. If translation is enabled, the language of the profile to return.
*/
function content_profile_load($type, $uid, $lang = '') {
...
}
?>
Thanks!
Thank you alex.k for your quick and good answer, this function work perfect!
Best Regards,
Gabriel