This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/application/classes/lnApp/HTML.php

22 lines
479 B
PHP
Raw Normal View History

2011-07-13 22:59:32 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
* This class extends Kohana's HTML
*
* @package lnApp/Modifications
* @category Classes
* @category Helpers
* @author Deon George
* @copyright (c) 2010 Deon George
* @license http://dev.leenooks.net/license.html
*/
2012-07-12 06:38:09 +00:00
abstract class lnApp_HTML extends Kohana_HTML {
2011-07-13 22:59:32 +00:00
public static function nbsp($string) {
if (strlen((string)$string))
return $string;
else
return '&nbsp;';
}
}
?>