Sunday, May 20, 2012
Managed Web Hosting by Liquid Web
Just Joomla! JCode Conversions

Codes for Updating Joomla! 1.0 Extensions to Joomla! 1.5

There are 141 entries in this glossary.
Search for glossary terms (regular expression allowed)
Begins with Contains Exact term Sounds like
All A C D F G H M P S T
Page:  « Prev ... 2 3 4 5 6... Next »
Term Definition
Function -array to integers-
Usage in Joomla! 1.0
mosArrayToInts($array, $default);
Usage in Joomla! 1.5
JArrayHelper::toInteger($array, $default);
Function -bind data to objects-
Usage in Joomla! 1.0
mosBindArrayToObject($array, &$obj, $ignore, $prefix, $checkSlashes);
Usage in Joomla! 1.5
        // Providing object is derived from JTable
        $object->bind($array, $ignore);
        
Function -bounce unauthorized user-
Usage in Joomla! 1.0
mosNotAuth();
Usage in Joomla! 1.5
JError::raiseError('401', JText::_('ALERTNOTAUTH'));
Function -browser information-
Usage in Joomla! 1.0
$browser = mosGetBrowser($agent); 

$os = mosGetOS($agent);
Usage in Joomla! 1.5
        jimport('joomla.environment.browser');
        $browser = &JBrowser::getInstance();
        

        jimport('joomla.environment.browser');
        $browser = &JBrowser::getInstance();
        $os = $instance->getPlatform();
        
Function -clean file system path-
Usage in Joomla! 1.0
mosPathName($p_path, $p_addtrailingslash);
Usage in Joomla! 1.5
        jimport('joomla.filesystem.path');
        $path = JPath::clean($p_path);
        // Handle trailing slash manually
        
Function -component parameters-
Usage in Joomla! 1.0
        $comp = new mosComponent($database);
        $comp->load($foobar_id);
        $params = new mosParameters($comp->params);
        
Usage in Joomla! 1.5
        $params = JComponentHelper::getParams('com_foobar');
        
Function -convert object to array-
Usage in Joomla! 1.0
$array = mosObjectToArray($p_obj, $recurse, $regex);
Usage in Joomla! 1.5
$array = JArrayHelper::fromObject($p_obj, $recurse, $regex);
Function -CSRF (spoof) checking-
Usage in Joomla! 1.0
josSpoofValue($alt);

josSpoofCheck($header, $alternate);
Usage in Joomla! 1.5
Place the following code before the end of your form:
JRequest::checkToken() or die(JText::_('Invalid Token'));
Function -date-
Usage in Joomla! 1.0
echo mosFormatDate($date, $format, $offset);

echo mosCurrentDate($format);
Usage in Joomla! 1.5
echo JHTML::_('date', $date, $format ? $format : JText::_('DATE_FORMAT_LC1'), $offset);

echo JHTML::_('date', 'now', $format ? $format : JText::_('DATE_FORMAT_LC1'));
Function -display ordering select list-
Usage in Joomla! 1.0
mosGetOrderingList($sql, $chop)
Usage in Joomla! 1.5
JHTML::_('list.genericordering', $sql, $chop)
Function -error popup-
Usage in Joomla! 1.0
mosErrorAlert($text, $action, $mode);
Usage in Joomla! 1.5
No direct replacement. Recommend raising a notice using JError::raiseNotice or a warning using JError::raiseWarning and redirecting the page.
Function -file permissions-
Usage in Joomla! 1.0
$result = mosChmod($path);

$result = mosChmodRecursive($path, $filemode, $dirmode);

$result = mosIsChmodable($file);
Usage in Joomla! 1.5
        jimport('joomla.filesystem.path');
        $result = JPath::setPermissions($path);
        

        jimport('joomla.filesystem.path');
        $result = JPath::setPermissions($path, $filemode, $dirmode);
        

        jimport('joomla.filesystem.path');
        $result = JPath::canChmod($file);
        
Function -hash a string-
Usage in Joomla! 1.0
$value = mosHash($seed);
Usage in Joomla! 1.5
$value = JUtility::getHash($seed);
Function -javascript tooltip support-
Usage in Joomla! 1.0
loadOverlib();
mosToolTip($tooltip, $title, $width, $image, $text, $href, $link);
Usage in Joomla! 1.5
JHTML::_('behavior.tooltip');
JHTML::_('tooltip', $tooltip, $title, $image, $text, $href, $link)
Function -make password-
Usage in Joomla! 1.0
$pwd = mosMakePassword();
Usage in Joomla! 1.5
        jimport('joomla.user.helper');
        $pwd = JUserHelper::genRandomPassword();
        
Page:  « Prev ... 2 3 4 5 6... Next »
Glossary 2.7 uses technologies including PHP and SQL