見つける最も簡単な方法はそれを試すことです。
それが機能しない場合は、いつでもカスタムオートローダーを作成して機能させることができます。私はphp名前空間の経験があまりありませんが、オートローダーは次のようになります(クラス名を指定して正しいファイルパスを決定するには、オートローダーを少しいじる必要があると思います)。
<?php
class My_Loader_Autoloader_MyWebsite implements Zend_Loader_Autoloader_Interface {
/**
* (non-PHPdoc)
* @see Zend_Loader_Autoloader_Interface::autoload()
*/
public function autoload($class) {
if (strtolower(substr($class, 0, 9)) == 'mywebsite') {
$file = realpath(APPLICATION_PATH . '/../library/myWebsite.com/' . $class);
if ($file) {
require_once $file;
return $class;
}
}
return false;
}
}
次に、これをブートストラップに入れます。
$autoloader = Zend_Loader_Autoloader::getInstance();
$autoloader->pushAutoloader(new My_Loader_Autoloader_MyWebsite());
このクラスがそのmyWebsite.comディレクトリにある必要がある場合は、チートしてそこにrequireをスローすることもできます。
require_once(APPLICATION_PATH . '/../library/myWebsite.com/Loader/Autoloader/MyWebsite.php');