public static function translate($url, $options=array()) {
        if (($embed = \Phata\Widgetfy\Site::translate($url,
                $options)) != NULL) {
            return $embed;
        } elseif (($embed = \Phata\Widgetfy\MediaFile::translate($url,
                $options)) != NULL) {
            return $embed;
        }
        return NULL;
    }
public static function translate($url, $options=array()) {
        if (($embed = \Phata\Widgetfy\Site::translate($url,
                $options)) != NULL) {
            return $embed;
        } elseif (($embed = \Phata\Widgetfy\MediaFile::translate($url,
                $options)) != NULL) {
            return $embed;
        }
        return NULL;
    }
public static function translate ( $ url , $ options = array ( ) ) { if ( ( $ embed = \ Phata \ Widgetfy \ Site :: translate ( $ url , $ options ) ) != NULL ) { return $ embed ; } elseif ( ( $ embed = \ Phata \ Widgetfy \ MediaFile :: translate ( $ url , $ options ) ) != NULL ) { return $ embed ; } return NULL ; }
simplified interface to translate a url into embed code

@param string $url URL to be translated
@return mixed array of embed information or
NULL if not translatable
simplified interface to translate a url into embed code