src/classes/CCOrbit.php
public static function enter( $path ) 
	{	
		if ( !is_array( $path ) ) 
		{
			$path = array( $path );
		}
		
		foreach( $path as $ship ) 
		{	
			// load ship at path
			$ship = CCOrbit_Ship::create( $ship );
			
			if ( array_key_exists( $ship->name, static::$ships ) ) 
			{
				throw new CCException( "CCOrbit::enter - {$ship->name} ship already entered." );
			}
			
			if ( $ship->wake !== false ) {
				$ship->event( $ship->wake );
			}
			
			CCProfiler::check( "CCOrbit - ship {$ship->name} launched." );
			
			// add to our loaded ships
			static::$ships[$ship->name] = $ship;
		}
	}
public static function enter( $path ) 
	{	
		if ( !is_array( $path ) ) 
		{
			$path = array( $path );
		}
		
		foreach( $path as $ship ) 
		{	
			// load ship at path
			$ship = CCOrbit_Ship::create( $ship );
			
			if ( array_key_exists( $ship->name, static::$ships ) ) 
			{
				throw new CCException( "CCOrbit::enter - {$ship->name} ship already entered." );
			}
			
			if ( $ship->wake !== false ) {
				$ship->event( $ship->wake );
			}
			
			CCProfiler::check( "CCOrbit - ship {$ship->name} launched." );
			
			// add to our loaded ships
			static::$ships[$ship->name] = $ship;
		}
	}
public static function enter ( $ path ) { if ( ! is_array ( $ path ) ) { $ path = array ( $ path ) ; } foreach ( $ path as $ ship ) { // load ship at path $ ship = CCOrbit_Ship :: create ( $ ship ) ; if ( array_key_exists ( $ ship -> name , static :: $ ships ) ) { throw new CCException ( "CCOrbit::enter - {$ship->name} ship already entered." ) ; } if ( $ ship -> wake !== false ) { $ ship -> event ( $ ship -> wake ) ; } CCProfiler :: check ( "CCOrbit - ship {$ship->name} launched." ) ; // add to our loaded ships static :: $ ships [ $ ship -> name ] = $ ship ; } }
Add a ship
this loads the ship loader file

@param string		$path
@return bool
Add a ship this loads the ship loader file