| 13 |
* $Id$ |
* $Id$ |
| 14 |
* |
* |
| 15 |
* $Log$ |
* $Log$ |
| 16 |
|
* Revision 1.5 2003/03/28 03:05:20 joko |
| 17 |
|
* minor update: fixed labels, modified debugging level |
| 18 |
|
* |
| 19 |
* Revision 1.4 2003/03/10 22:58:45 joko |
* Revision 1.4 2003/03/10 22:58:45 joko |
| 20 |
* + fixed metadata for phpDocumentor |
* + fixed metadata for phpDocumentor |
| 21 |
* |
* |
| 203 |
static $target_cache; |
static $target_cache; |
| 204 |
|
|
| 205 |
if (!php::class_has_method($source_class, $source_name)) { |
if (!php::class_has_method($source_class, $source_name)) { |
| 206 |
user_error("Exporter error: class '$source_class' does not implement method '$source_name', will skip exporting this symbol."); |
user_error("Exporter::create_stub_function - Error: class '$source_class' does not implement method '$source_name', will skip exporting this symbol."); |
| 207 |
return; |
return; |
| 208 |
} |
} |
| 209 |
|
|
| 210 |
// prevent redeclarations |
// prevent redeclarations |
| 211 |
if ($target_cache[$target_name]) { |
if ($target_cache[$target_name]) { |
| 212 |
$msg = "php::create_stub_function: already declared: $target_name"; |
$msg = "Exporter::create_stub_function - Warning: already declared: $target_name"; |
| 213 |
php::append_log($msg, PEAR_LOG_ERR); |
php::append_log($msg, PEAR_LOG_DEBUG); |
| 214 |
return 1; |
return 1; |
| 215 |
} else { |
} else { |
| 216 |
$target_cache[$target_name]++; |
$target_cache[$target_name]++; |