Index: trunk/extensions/Maps/Services/Maps_MappingService.php |
— | — | @@ -92,14 +92,9 @@ |
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | | - * Returns the service parameters by first checking if they have been initialized yet, |
97 | | - * doing to work if this is not the case, and then returning them. |
98 | | - * |
99 | | - * @since 0.6.3 |
100 | | - * |
101 | 96 | * @see iMappingService::getParameterInfo |
102 | 97 | * |
103 | | - * @return array |
| 98 | + * @since 0.6.3 |
104 | 99 | */ |
105 | 100 | public final function getParameterInfo() { |
106 | 101 | if ( $this->parameterInfo === false ) { |
— | — | @@ -120,23 +115,18 @@ |
121 | 116 | } |
122 | 117 | |
123 | 118 | /** |
124 | | - * Adds a feature to this service. This is to indicate this service has support for this feature. |
| 119 | + * @see iMappingService::addFeature |
125 | 120 | * |
126 | 121 | * @since 0.6.3 |
127 | | - * |
128 | | - * @param string $featureName |
129 | | - * @param string $handlingClass |
130 | 122 | */ |
131 | 123 | public function addFeature( $featureName, $handlingClass ) { |
132 | 124 | $this->features[$featureName] = $handlingClass; |
133 | 125 | } |
134 | 126 | |
135 | 127 | /** |
136 | | - * Adds the mapping services dependencies to the header. |
| 128 | + * @see iMappingService::addDependencies |
137 | 129 | * |
138 | 130 | * @since 0.6.3 |
139 | | - * |
140 | | - * @param mixed $parserOrOut |
141 | 131 | */ |
142 | 132 | public final function addDependencies( &$parserOrOut ) { |
143 | 133 | $dependencies = $this->getDependencyHtml(); |
— | — | @@ -153,11 +143,9 @@ |
154 | 144 | } |
155 | 145 | |
156 | 146 | /** |
157 | | - * Returns the html for the needed dependencies or false. |
| 147 | + * @see iMappingService::getDependencyHtml |
158 | 148 | * |
159 | 149 | * @since 0.6.3 |
160 | | - * |
161 | | - * @return mixed String or false |
162 | 150 | */ |
163 | 151 | public final function getDependencyHtml() { |
164 | 152 | $allDependencies = array_merge( $this->getDependencies(), $this->dependencies ); |
Index: trunk/extensions/Maps/Services/iMappingService.php |
— | — | @@ -59,6 +59,34 @@ |
60 | 60 | function addDependency( $dependencyHtml ); |
61 | 61 | |
62 | 62 | /** |
| 63 | + * Adds a feature to this service. This is to indicate this service has support for this feature. |
| 64 | + * |
| 65 | + * @since 0.6.5 |
| 66 | + * |
| 67 | + * @param string $featureName |
| 68 | + * @param string $handlingClass |
| 69 | + */ |
| 70 | + function addFeature( $featureName, $handlingClass ); |
| 71 | + |
| 72 | + /** |
| 73 | + * Adds the mapping services dependencies to the header. |
| 74 | + * |
| 75 | + * @since 0.6.5 |
| 76 | + * |
| 77 | + * @param mixed $parserOrOut |
| 78 | + */ |
| 79 | + function addDependencies( &$parserOrOut ); |
| 80 | + |
| 81 | + /** |
| 82 | + * Returns the html for the needed dependencies or false. |
| 83 | + * |
| 84 | + * @since 0.6.5 |
| 85 | + * |
| 86 | + * @return mixed String or false |
| 87 | + */ |
| 88 | + function getDependencyHtml(); |
| 89 | + |
| 90 | + /** |
63 | 91 | * Returns the name of the class that handles the provided feature in this service, or false if there is none. |
64 | 92 | * |
65 | 93 | * @since 0.6.5 |