$hideCode = $likesObj->isAlreadyLikedByUser(facebookUID()) ? \'style=\"display:none;\"\' : \'\';
Can anyone explain to me what that question mar
It is the ternary operator: it means
if $likesObj->isAlreadyLikedByUser(facebookUID()) is true assign style="display:none; to the variable, otherwise assign ''
$likesObj->isAlreadyLikedByUser(facebookUID())
style="display:none;
''