Add missing PHPDoc

This commit is contained in:
Mathieu Trossevin 2023-11-16 10:59:27 +01:00
parent 659575960d
commit e66cca7e2e
Signed by: mtrossevin
GPG key ID: D1DBB7EA828374E9

View file

@ -1,5 +1,13 @@
<?php
/**
* Add a domain in BIND
* @param string $name Domain to add
* @param string $IP IP of web server for this domain
* @param bool $with_mxs Set to `true` if you wants to add MX records. Otherwise set to `false`.
* @param bool $gmail Set to `true` if the Google MXs are to be used by this domain as its MXs.
* @return array
*/
function domain_add($name, $IP, $with_mxs, $gmail=false) {
$exec_cmd = 'bind-add-ng.sh';