tbarsness Posted February 8, 2008 Share Posted February 8, 2008 Can anyone tell me what this block of code does: $mask |= mosMainFrame::getCfg( 'hidePrint' ) ? MASK_HIDEPRINT : 0; I've never seen the pipe character in php before and have no idea what it does. There isn't really a good way I can find to search for it either. Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted February 8, 2008 Share Posted February 8, 2008 It's the bitwise "Or" operator and it's being used like "+=" or ".=". If you want to know what the operators are just go to http://www.php.net/operators Ken Quote Link to comment Share on other sites More sharing options...
phpSensei Posted February 8, 2008 Share Posted February 8, 2008 Refered to: http://ca3.php.net/manual/en/language.operators.assignment.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.