original_string: public function init()
      {
          parent::init();
  
          // Check we are logged in as a user who can access front end management
          if (!Permission::check("USERS_MANAGE_ACCOUNT")) {
              Security::permissionFailure();
          }
  
          // Set our member object
          $member = Member::currentUser();
  
          if ($member instanceof Member) {
              $this->member = $member;
          }
      }
code: public function init()
      {
          parent::init();
  
          // Check we are logged in as a user who can access front end management
          if (!Permission::check("USERS_MANAGE_ACCOUNT")) {
              Security::permissionFailure();
          }
  
          // Set our member object
          $member = Member::currentUser();
  
          if ($member instanceof Member) {
              $this->member = $member;
          }
      }
code_tokens: public function init ( ) { parent :: init ( ) ; // Check we are logged in as a user who can access front end management if ( ! Permission :: check ( "USERS_MANAGE_ACCOUNT" ) ) { Security :: permissionFailure ( ) ; } // Set our member object $ member = Member :: currentUser ( ) ; if ( $ member instanceof Member ) { $ this -> member = $ member ; } }
docstring: Perorm setup when this controller is initialised
  
  @return void
docstring_tokens: Perorm setup when this controller is initialised