src/classes/CCShipyard/Class.php
public function add()
	{
		$args = func_get_args();
		
		$component = array_shift( $args );
		
		$method = 'build_'.strtolower( $component );
		
		if ( !method_exists( $this, $method ) )
		{
			throw new CCException( 'CCShipyard_Class invalid component builder "'.$component.'".' );
		}
		
		$this->output .= call_user_func_array( array( $this, $method ), $args );
	}
public function add()
	{
		$args = func_get_args();
		
		$component = array_shift( $args );
		
		$method = 'build_'.strtolower( $component );
		
		if ( !method_exists( $this, $method ) )
		{
			throw new CCException( 'CCShipyard_Class invalid component builder "'.$component.'".' );
		}
		
		$this->output .= call_user_func_array( array( $this, $method ), $args );
	}
public function add ( ) { $ args = func_get_args ( ) ; $ component = array_shift ( $ args ) ; $ method = 'build_' . strtolower ( $ component ) ; if ( ! method_exists ( $ this , $ method ) ) { throw new CCException ( 'CCShipyard_Class invalid component builder "' . $ component . '".' ) ; } $ this -> output .= call_user_func_array ( array ( $ this , $ method ) , $ args ) ; }
Add a component to the class

@param mixed ...
@return void
Add a component to the class