Skip to content

deadkash/yandex.islands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Генератор Яндекс.островов

Использование

$island = new YandexIsland();

$island->setRootUrl('http://www.example.com');
$island->setTitle('Title of island');
$island->setProtocol('HTTP');
$island->setRequestMethod('POST');
$island->setDescription('Island description');
$island->setSubmitUrl('www.example.com/custompage');
$island->setMetricaCounterId(22233344);

$island->addRangeDate('Дата', 'dateFrom', 'dateTo', 'yyyy-MM-dd', 'Заезд', 'Отъезд', false, false, true);
$island->addTextBox('Количество человек', 'count', 'AllUnparsed', 40);
$island->addDropDown('Номер', 'nomer', $values);

$island->export('island.xml');

About

PHP YandexIslands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages