Wikipedia:Cygnus/Example
Zur Navigation springen
Zur Suche springen
#!/usr/bin/php
<?php
require './Cygnus/BotCore.php';
/** ExampleProgramm.example.php
* <Beschreibung des Programms einsetzen>
* @Author <Autor>
* @Version 0.1
* @Status Alpha
*/
class ExampleProgramm extends Core {
public function __construct($Account, $Job, $pUseHTTPS = true) {
$this->initcurl($Account, $Job, $pUseHTTPS);
}
}
$Bot = new ExampleProgramm ('<AccountData>', '<Jobname>');
?>