Find an article by its ID or alias and its page
public static findByIdOrAliasAndPid ( 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 |
Результат | The model or null if there is no article |