<?php
function getAllCoursesName()
{
if (!\Components\Customers\Contacts::currentContactId())
{
return null;
}
$arrProperties = array();
$arrProperties['filter'] = array('contact_id', '=', \Components\Customers\Contacts::currentContactId());
return \Components\Commerce\Sales::getAll($arrProperties);
}
?>
<?php
function getAllCoursesName()
{
if (!\Components\Customers\Contacts::currentContactId())
{
return null;
}
$arrProperties = array();
$arrProperties['filter'] = array('contact_id', '=', \Components\Customers\Contacts::currentContactId());
return \Components\Commerce\Sales::getAll($arrProperties);
}
?>