protected static function boot_if_not_booted() {

		if ( isset( static::$_booted[ get_called_class() ] ) ) {
			return;
		}

		static::$_booted[ get_called_class() ] = true;

		$instance = new static();

		$instance->fire_model_event( 'booting' );
		static::boot();
		$instance->fire_model_event( 'booted' );
	}
protected static function boot_if_not_booted() {

		if ( isset( static::$_booted[ get_called_class() ] ) ) {
			return;
		}

		static::$_booted[ get_called_class() ] = true;

		$instance = new static();

		$instance->fire_model_event( 'booting' );
		static::boot();
		$instance->fire_model_event( 'booted' );
	}
protected static function boot_if_not_booted ( ) { if ( isset ( static :: $ _booted [ get_called_class ( ) ] ) ) { return ; } static :: $ _booted [ get_called_class ( ) ] = true ; $ instance = new static ( ) ; $ instance -> fire_model_event ( 'booting' ) ; static :: boot ( ) ; $ instance -> fire_model_event ( 'booted' ) ; }
Boot this model if it has not been previously booted.

Fires two model events, 'booting' and 'booted'.

@since 2.0
Boot this model if it has not been previously booted .