v.2.1.0
Bp Library Package
This product is Not Supported
Current version: 2.1.0
Maturity Stable
Release Date 18 May 2020 13:50
Compatibility Joomla 3.7.xJoomla 3.8.xJoomla 3.9.x
Downloads 85

Releases

Changes Log

Version Change
v. 2.1.0  
  changed BpFile::isDir Now the method can create the folder if not exists and assign chmod.
  added BpDb::optimize Method to optimize a db table
 
v. 2.0.9  
  fixed BpForm::parseFormUk fixed a bug
  added BpFile::isDir check if a dir exists and can create it with several chmod options
  changed BpUsr::getAccessGroupName Now it can return even the complete list
 
v. 2.0.8  
  fixed Bp::getMenuParams Mis typo
 
v. 2.0.7  
  fixed BpDate::addTime didn't subtract time
  changed BpUsr::getBrowser now it uses JBrowser and return more extended info
  changed BpUsr::getIpInfo as conseguenze of BpUsr::getBrowser changes, return more extended info
  added BpDb::dbTry passing extra array 'return' => 'function' you will get the query result directly instead of $db object
  fixed BpMail::cleanAddress wrong result
  fixed BpMail::send Recipients names were not treated as array
  deprecated Bp::isExt Use Bp::isExtension instead. It will be removed in v.3.0
  added Bp::addCssStyle add a css style declaration in HEAD section
  added Bp::passToJ method to pass var value to java/jquery script
  changed Bp::txt now it can be used with strings too, passing a string as second argument
  changed Bp::getMenuParams Enhanced the option to get active menu params
  changed Bp::getViewMenuId Enhanced the option to get active menu id associated with the current view
  added Bp::registry Retrieve a json encoded string to array (only, at the moment)
  added Bp::parseUrl Return an array with parsed url passed as argument (server's referer if not argument is passed)
  changed Bp::getUser Now a specific user id may be passed as argument (current user is default)
  changed Bp::updateUserSess Now a specific user id may be passed as argument (current user is default)
 
v. 2.0.6  
  fixed Bp::getUrl('site') failed to return valid data
  added Bp::getMenuParams get the active menu params (if any), false otherwise
  added Bp::getConfig get the Joomla's installation configuration object
  added Bp::arrayToObject transform recursively an array into object
  added Bp::ObjectToArray transform recursively an object into array
  deprecated Bp::getModel DEPRECATED (will be removed in 3.0) use BpDb::getModel instead
  deprecated Bp::isAdminSide DEPRECATED (will be removed in 3.0) use Bp::isAdmin instead
  added Bp::isSite check if the call comes from the site side
  added Bp::isAdmin check if the current side is administrator
  added Bp::getActiveMenuId get the active menu ID if any, false otherwise
  added Bp::getViewMenuId retrieve the supplied (or current if not supplied) view menu id if any
  added Bp::escape escape a string when you can't use Joomla's native escape
  added Bp::enqMex alias of Bp::addMex - we will see in the future which one will be removed
  added Bp::getPageHeading get the page heading based on menu params or fall in general if missing
  added Bp::getMex retrieve all system messages or clean up the messages queue passing true as param
  added Bp::versionCompare needed because version_compare fails (ie: on 1.10.82 vs 1.10.83)
  added Bp::getVersion returns the library current version
  added Bp::updateUserSess update the user session, required after ACL changes
  fixed BpDate::addTime fixed sign - when time < 0
  added BpDb::getItem get a db row using the model with all its rules
  added BpDb::getTable alias of getInstance, public access
  added BpDb::getModel get the model object
  changed BpDb::getInstance optimized
  added BpDb::getDate returns the current UTC date to format Y-d-m H:i:s
  changed BpDb all query methods: passing $extra['log'] => true $query will be logged before executed
  fixed BpFile::exists failed with hard mode enabled
  fixed BpForm::setValue didn't return the form object
  fixed BpForm::setAttribute didn't return the form object
  deprecated BpUsr::getGeoData DEPRECATED (will be removed in 3.0) use getIpInfo instead
  added BpUsr::getIpInfo use in the same way as getGeoData
  added BpUsr::isBot return true is the current user is a recognized bot crawler
  added BpUsr::logout logout a user
 
powered by Bp Release

Comments

powered by Bp Comments