method public static Устаревший

GoogleApiPush::setBlockPush()

Класс: \Bitrix\Calendar\Sync\GoogleApiPush

Сигнатура

public static setBlockPush(string $type, int $entityId) : void

Параметры

$type string
$entityId int

Возвращаемое значение

void

Как применяется в GoogleApiPush

GoogleApiPush::setBlockPush() — метод класса \Bitrix\Calendar\Sync\GoogleApiPush модуля «Календарь».

Статический метод — вызывается через имя класса GoogleApiPush, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Calendar\Sync\GoogleApiPush;

Loader::includeModule('calendar');

$type = '';
$entityId = 1;
GoogleApiPush::setBlockPush($type, $entityId);

Другие методы GoogleApiPush

Исходный файл: source/calendar/lib/sync/googleapipush.php:888

Что будем искать? Например,Продвижение