* @param string action the targeted action name * @param string module the targeted module name * @param string extension the targeted extension name * @param array params an array of additionnal key/value query parameters * @return string */ function _url($action = null, $module = null, $extension = null, $params = []) { return tao_helpers_Uri::url($action, $module, $extension, $params); } /** * Conveniance function that calls tao_helpers_Display::htmlize * * @param string $input The input string * @return string $output The htmlized string. */ function _dh($input) { return tao_helpers_Display::htmlize($input); } /** * Convenience function clean the input string (replace all no alphanum chars). * * @param string $input The input string. * @return string $output The output string without non alphanum characters. */ function _clean($input) { return tao_helpers_Display::textCleaner($input); } /** * Experimental convenience function * @return boolean */ function _isRtl() { return tao_helpers_I18n::isLanguageRightToLeft(common_session_SessionManager::getSession()->getInterfaceLanguage()); }