static function isExtension( $path ) { if ( eZExtension::nameFromPath( $path ) ) return true; else return false; }
/** * @param string $path Path to check. * @return bool True if this path is related to some extension. * \note The root of an extension is considered to be in this path too. * @deprecated Since 4.3, use {@link eZExtension::isExtension()} instead */ function isExtension($path) { if (eZExtension::nameFromPath($path)) { return true; } else { return false; } }