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...