Lines Matching defs:a

15  * This thing prepares and keeps progress info on complex move operations (eg. where more than a single
18 * Please note: this has not a complex move resolver. Move operations may not depend on each other (eg. you
19 * can not use a namespace as source that will only be created by a different move operation) instead all given
20 * operations should be operations on the current state to come to a wanted future state. The tree manager takes
21 * care of that by abstracting all moves on a DOM representation first, then submitting the needed changes (eg.
26 * document - refers to either a page or a media file here
70 * initializes state (if any) for continuiation of a running move op
187 * Check if there is a move in progress currently
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
245 * Plans the move of a namespace or document
285 * @throws Exception if you try to commit a plan twice
304 // here we need a list of content first, search for it
414 * Returns the list of page and media moves and the affected pages as a HTML list
481 $doclist = fopen($file, 'a+');
513 * It is used to finalize a successful or skipped move
539 $doclist = fopen($this->files['affected'], 'a+');
677 * Appends a page move operation in the list file
679 * If the src has been added before, this is ignored. This makes sure you can move a single page
680 * out of a namespace first, then move the namespace somewhere else.
719 * Looks up pages that will be affected by a move of $src
861 break; // we have a line, finish
876 * @param $a
880 public function planSorter($a, $b) {
882 if($a['class'] == self::CLASS_DOC && $b['class'] == self::CLASS_NS) {
885 if($a['class'] == self::CLASS_NS && $b['class'] == self::CLASS_DOC) {
890 if($a['type'] == self::TYPE_PAGES && $b['type'] == self::TYPE_MEDIA) {
893 if($a['type'] == self::TYPE_MEDIA && $b['type'] == self::TYPE_PAGES) {
900 $alen = substr_count($a['src'], ':');