Commit 73dfc3bf authored by Luke081515's avatar Luke081515

WIP

parent da01b9c6
#!/usr/bin/php
<?php
require './Cygnus/BotCore.php';
/** Corrector.php
* Searches for occurences and allows you to correct the manually
* @Author Luke081515
* @Version 0.1
* @Status Alpha
*/
class Corrector extends Core {
public function __construct($Account, $Job, $pUseHTTPS = true) {
$this->initcurl($Account, $Job, $pUseHTTPS);
}
/** defineConditions
* Defines the condition for search and replace
*/
private function defineConditions () {}
/**
*
*/
private function search () {}
private function display () {
$html = "dddasdfdddasdffff";
$needle = "asdf";
$lastPos = 0;
$positions = array();
while (($lastPos = strpos($html, $needle, $lastPos))!== false) {
$positions[] = $lastPos;
$lastPos = $lastPos + strlen($needle);
}
}
private function repalce () {}
}
$Bot = new Corrector ('Luke081515@dewiki', 'Corrector');
?>
\ No newline at end of file
Subproject commit 63bb38f632065a129311882073af93ed6ebbdcac
Subproject commit 680548de92cefefae2cdda5870ac922040a1a4f6
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment