Lines Matching refs:to

20  * operations should be operations on the current state to come to a wanted future state. The tree manager takes
26 * document - refers to either a page or a media file here
153 * Note, this otpion will only be set to the current instance of this helper object. It will only
154 * be written to the option file once the plan gets committed
205 * Add a single page to be moved to the plan
215 * Add a single media file to be moved to the plan
225 * Add a page namespace to be moved to the plan
235 * Add a media namespace to be moved to the plan
247 * @param string $src ID of the item to move
254 if($this->options['committed']) throw new Exception('plan is committed already, can not be added to');
285 * @throws Exception if you try to commit a plan twice
298 // get all the documents to be moved and store them in their lists
314 // how much namespace to strip?
322 // now add all the found documents to our lists
325 $to = $move['dst'] . substr($doc['id'], $strip);
326 $this->addToDocumentList($from, $to, $move['type']);
331 // FIXME we use this to move namespace subscriptions later on and for now only do it on
358 * @param bool $skip set to true to skip the next first step (skip error)
513 * It is used to finalize a successful or skipped move
558 * Step through all the links to missing pages that should be moved
560 * This simply adds the moved missing pages to all affected pages meta data. This will add
561 * the meta data to pages not linking to the affected pages but this should still be faster
704 * Add the list of pages to the list of affected pages whose links need adjustment
721 * Calls addToAffectedPagesList() directly to store the result
811 // anything to do?
841 * The handle is set to the newline before the file id
843 * @param resource $handle The file handle to read from
855 fseek($handle, -1, SEEK_CUR); // reset the position to the character that was read
865 $line = $c . $line; // prepend char to line
874 * Callback for usort to sort the move plan
897 // from here on we compare only apples to apples
912 * Create line to log result of an operation
916 * @param string $to
924 public function build_log_line ($type, $from, $to, $success) {
937 $log = "$now\t$date\t$type\t$from\t$to\t$ok\t$msg\n";
942 * write log to file