1
$profile = JFactory::getUser($this->_user_id);
$userDetails = JUserHelper::getProfile($this->_user_id);
$profile->details = isset($userDetails->profile) ? $userDetails->profile : array();

JFactory::getUser() と JUserHelper::getProfile() の 2 つの関数の違いを知りたいです。

そして、これらの 3 行のコードは何をするのでしょうか?

有益な回答をいただければ幸いです。ありがとうございました!

4

1 に答える 1