kobylecki Posted November 28, 2012 Share Posted November 28, 2012 In the documentation (http://doc.prestashop.com/display/PS15/Creating+a+PrestaShop+module#CreatingaPrestaShopmodule-Creatingthemodule%27sbackofficetab%2Canditsclass) I saw strange thing: $language['id_lang'|'id_lang'] Is this just bug in documentation or is it sensible? Bitwise OR would cast string to integer and then sum the bits from each. Or there is some magical [ | ] array operator unknown to me. Can anyone explain this code? Link to comment Share on other sites More sharing options...
Recommended Posts