[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/assets/ -> invitations-extensions.php (source)

   1  <?php
   2  /**
   3   * The following implementations of BP_Attachment act as dummy plugins
   4   * for our unit tests
   5   */
   6  class BPTest_Invitation_Manager_Extension extends BP_Invitation_Manager {
   7  	public function __construct( $args = array() ) {
   8          parent::__construct( $args );
   9      }
  10  
  11  	public function run_send_action( BP_Invitation $invitation ) {
  12          return true;
  13      }
  14  
  15  	public function run_acceptance_action( $type, $r  ) {
  16          return true;
  17      }
  18  }


Generated: Fri Nov 22 01:00:56 2024 Cross-referenced by PHPXref 0.7.1