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broken-link-checker / modules / containers / dummy.php
broken-link-checker / modules / containers Last commit date
blogroll.php 14 years ago comment.php 14 years ago custom_field.php 14 years ago dummy.php 15 years ago
dummy.php
77 lines
1 <?php
2
3 /*
4 Plugin Name: Dummy
5 Description:
6 Version: 1.0
7 Author: Janis Elsts
8
9 ModuleID: dummy
10 ModuleCategory: container
11 ModuleClassName: blcDummyManager
12 ModuleAlwaysActive: true
13 ModuleHidden: true
14 */
15
16 /**
17 * A "dummy" container class that can be used as a fallback when the real container class can't be found.
18 *
19 *
20 * @package Broken Link Checker
21 * @access public
22 */
23 class blcDummyContainer extends blcContainer{
24
25 function synch(){
26 //Just mark it as synched so that it doesn't bother us anymore.
27 $this->mark_as_synched();
28 }
29
30 function edit_link($field_name, $parser, $new_url, $old_url = '', $old_raw_url = ''){
31 return new WP_Error(
32 'container_not_found',
33 sprintf(
34 __("I don't know how to edit a '%s' [%d].", 'broken-link-checker'),
35 $this->container_type,
36 $this->container_id
37 )
38 );
39 }
40
41 function unlink($field_name, $parser, $url, $raw_url =''){
42 return new WP_Error(
43 'container_not_found',
44 sprintf(
45 __("I don't know how to edit a '%s' [%d].", 'broken-link-checker'),
46 $this->container_type,
47 $this->container_id
48 )
49 );
50 }
51
52 function ui_get_source($container_field, $context = 'display'){
53 return sprintf(
54 '<em>Unknown source %s[%d]:%s</em>',
55 $this->container_type,
56 $this->container_id,
57 $container_field
58 );
59 }
60 }
61
62 /**
63 * A dummy manager class.
64 *
65 * @package Broken Link Checker
66 * @access public
67 */
68 class blcDummyManager extends blcContainerManager {
69
70 var $container_class_name = 'blcDummyContainer';
71
72 function resynch($forced = false){
73 //Do nothing.
74 }
75 }
76
77 ?>