src/classes/CCForge/Php.php
public function property( $name, $default = null, $comment = null, $export = true )
	{
		if ( $default !== null )
		{
			if ( $export )
			{
				$default = var_export( $default, true );
			}
		} 
		
		return $this->add( ( $comment ? static::make( 'comment', array( $comment ) )."\n" : '' ).
			$name.( $default !== null ? ' = '. $default : '' ).';' );
	}
public function property( $name, $default = null, $comment = null, $export = true )
	{
		if ( $default !== null )
		{
			if ( $export )
			{
				$default = var_export( $default, true );
			}
		} 
		
		return $this->add( ( $comment ? static::make( 'comment', array( $comment ) )."\n" : '' ).
			$name.( $default !== null ? ' = '. $default : '' ).';' );
	}
public function property ( $ name , $ default = null , $ comment = null , $ export = true ) { if ( $ default !== null ) { if ( $ export ) { $ default = var_export ( $ default , true ) ; } } return $ this -> add ( ( $ comment ? static :: make ( 'comment' , array ( $ comment ) ) . "\n" : '' ) . $ name . ( $ default !== null ? ' = ' . $ default : '' ) . ';' ) ; }
generates a class property

@param string		$str
@param int		$wordwrap
@return string
generates a class property