*/
namespace Civi\Api4;
+use Civi\Api4\Action\GetLinks;
use Civi\Api4\Import\CheckAccessAction;
use Civi\Api4\Generic\DAOGetAction;
use Civi\Api4\Generic\DAOGetFieldsAction;
->setCheckPermissions($checkPermissions);
}
+ /**
+ * @param int $userJobID
+ * @param bool $checkPermissions
+ *
+ * @return \Civi\Api4\Action\GetLinks
+ */
+ public static function getLinks(int $userJobID, bool $checkPermissions = TRUE): GetLinks {
+ return (new GetLinks('Import_' . $userJobID, __FUNCTION__))
+ ->setCheckPermissions($checkPermissions);
+ }
+
/**
* @param int $userJobID
* @return \Civi\Api4\Generic\CheckAccessAction