- Fix
Helper::createEntity()
could cause "Call to undefined method ...\XF\Entity\...::where()" errors when verifying content is unique
- Only add phrase_dynamic template method in XF2.1
- Add various strongly typed helpers to automatically type hint returns based on using ::class argument instead of magic strings.
PHP:You must log in to view (1 lines)
For static analysis and IDE, $obj will have the type\XF\Repository\User
While XF2.3 intends to implement this, adding this functionality to this add-on allows migrating before hand and simplifies migrating as theHelper
bit just needs to be swapped with\XF
- Add
js/sv/lib/ajaxPagination.js
HTML:You must log in to view (11 lines)
<xf:pagenav>
and<xf:hiddenval name="final_url" />
must be inside the div which is tagged withdata-content-wrapper
's css selector
Note; The 1.18.x branch will be the last branch to support XenForo 2.1.x
- Deprecate getContentPermissions function, as the 2nd string argument was not actually used, with a replacement function getPerContentPermissions added.
- Add \SV\StandardLib\Helper::isAddOnActive() helper function. Similar to \XF::isAddonActive(), except it understands version strings
- Shim template funciton is_addon_active code to understand version strings