Find a published article by its ID or alias and its page
public static findPublishedByIdOrAliasAndPid ( mixed $varId, integer $intPid, array $arrOptions = [] ) : |
||
$varId | mixed | The numeric ID or alias name |
$intPid | integer | The page ID |
$arrOptions | array | An optional options array |
return | The model or null if there is no article |