Changeset 11028 for plugins/sfSearchPlugin
- Timestamp:
- 08/21/08 22:29:51 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfSearchPlugin/trunk/core/lib/task/xfBaseTask.class.php
r9706 r11028 53 53 if (!class_exists($index, true)) 54 54 { 55 throw new sfException('Index ' . $index . ' does not exist'); 55 throw new sfException('Index "' . $index . '" does not exist'); 56 } 57 58 $ref = new ReflectionClass($index); 59 if (!$ref->implementsInterface('xfIndex')) 60 { 61 throw new sfException('Class "' . $index . '" does not implement xfIndex interface.'); 56 62 } 57 63 }