/** * @param string $oldString the string to change. Only this exact word will * be changed - words containing it will not change. May contain regexp * features (but do not surround in '/'s). * @param string $newString the string to change it to. May contain * backreferences, marked with a double-backslash, i.e. '\\1' * @param boolean $tentative whether the changes we detect should be * considered tentative */ public function __construct(Scisr_ChangeRegistry $changeRegistry, $oldString, $newString, $tentative = true) { parent::__construct($changeRegistry); $this->oldString = $oldString; $this->newString = $newString; $this->tentative = $tentative; }
public function __construct(Scisr_ChangeRegistry $changeRegistry, $outputDir) { parent::__construct($changeRegistry); $this->outputDir = $outputDir; }
public function __construct(Scisr_ChangeRegistry $changeRegistry, $oldName, $newName) { parent::__construct($changeRegistry); $this->oldName = $oldName; $this->newName = $newName; }