Find the first published root page by its host name and language
public static findFirstPublishedRootByHostAndLanguage ( string $strHost, mixed $varLanguage, array $arrOptions = [] ) : |
||
$strHost | string | The host name |
$varLanguage | mixed | An ISO language code or an array of ISO language codes |
$arrOptions | array | An optional options array |
return | The model or null if there is no matching root page |