Jump to content

Community

Developer Documentation

Misc. Method Additions / Changes

\IPS\core\modules\front\contact\contact::canUseContactUs()

This method is now deprecated, and you should now use \IPS\Member::canUseContactUs() instead. This method will be completely removed in Invision Community 4.3.

	/**
	 * Is the current user allowed to use the contact us form
	 *
	 * @return bool
	 */
	public function canUseContactUs()

 

\IPS\Content::reputation()

This method is now deprecated, and you should now use \IPS\Content\Reactable::reactionCount() instead. This method will be completely removed in Invision Community 4.3.

ContentRouter Extensions

The $member parameter for ContentRouter extensions __construct() method can now accept either an \IPS\Member object, an \IPS\Member\Group object, or NULL. Applications should remove the \IPS\Member type declaration from their extensions.

    Edited by Ryan Ashbrook

      Report Document


    ×
    ×
    • Create New...

    Important Information

    We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy