[ Index ]

PHP Cross Reference of osCMax 2.0.4

title

Body

[close]

/FCKeditor/editor/filemanager/browser/default/connectors/php/ -> basexml.php (source)

   1  <?php 
/*
   2   * FCKeditor - The text editor for internet
   3   * Copyright 2006 osCMax2003-2005 Frederico Caldeira Knabben
   4   * 
   5   * Licensed under the terms of the GNU Lesser General Public License:
   6   *         http://www.opensource.org/licenses/lgpl-license.php
   7   * 
   8   * For further information visit:
   9   *         http://www.fckeditor.net/
  10   * 
  11   * File Name: basexml.php
  12   *     This is the File Manager Connector for ASP.
  13   * 
  14   * File Authors:
  15   *         Frederico Caldeira Knabben ([email protected])
  16   */
  17  
  18  function CreateXmlHeader( $command, $resourceType, $currentFolder )
  19  {
  20      // Create the XML document header.
  21      echo '<?xml version="1.0" encoding="utf-8" ?>' ;
  22  
  23      // Create the main "Connector" node.
  24      echo '<Connector command="' . $command . '" resourceType="' . $resourceType . '">' ;
  25      
  26      // Add the current folder node.
  27      echo '<CurrentFolder path="' . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $resourceType, $currentFolder ) ) . '" />' ;
  28  }
  29  
  30  function CreateXmlFooter()
  31  {
  32      echo '</Connector>' ;
  33  }
  34  ?>


Generated: Fri Jan 1 13:43:16 2010 Cross-referenced by PHPXref 0.7