code: function( closerFirst ) {
  		var node = this;
  		var parents = [];
  
  		do {
  			parents[ closerFirst ? 'push' : 'unshift' ]( node );
  		}
  		while ( ( node = node.getParent() ) );
  
  		return parents;
  	}
docs: Returns an array containing node parents and the node itself. By default nodes are in _descending_ order.
  
  // Assuming that body has paragraph as the first child.
  var node = editor.document.getBody().getFirst();
  var parents = node.getParents();
  alert( parents[ 0 ].getName() + ',' + parents[ 2 ].getName() ); // 'html,p'
  
  @param {Boolean} [closerFirst=false] Determines the order of returned nodes.
  @returns {Array} Returns an array of {@link CKEDITOR.dom.node}.