framework/Mvc/Extensions/Ckfinder/lib/plugins/zip/plugin.php
protected function appendErrorNode($oErrorsNode, $errorCode=0, $name, $type=null, $path=null)
  {
    $oErrorNode = new CKFinder_Connector_Utils_XmlNode("Error");
    $oErrorNode->addAttribute("code", $errorCode);
    $oErrorNode->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($name));
    if ( $type ){
      $oErrorNode->addAttribute("type", $type);
    }
    if ( $path ){
      $oErrorNode->addAttribute("folder", $path);
    }
    $oErrorsNode->addChild($oErrorNode);
  }
protected function appendErrorNode($oErrorsNode, $errorCode=0, $name, $type=null, $path=null)
  {
    $oErrorNode = new CKFinder_Connector_Utils_XmlNode("Error");
    $oErrorNode->addAttribute("code", $errorCode);
    $oErrorNode->addAttribute("name", CKFinder_Connector_Utils_FileSystem::convertToConnectorEncoding($name));
    if ( $type ){
      $oErrorNode->addAttribute("type", $type);
    }
    if ( $path ){
      $oErrorNode->addAttribute("folder", $path);
    }
    $oErrorsNode->addChild($oErrorNode);
  }
protected function appendErrorNode ( $ oErrorsNode , $ errorCode = 0 , $ name , $ type = null , $ path = null ) { $ oErrorNode = new CKFinder_Connector_Utils_XmlNode ( "Error" ) ; $ oErrorNode -> addAttribute ( "code" , $ errorCode ) ; $ oErrorNode -> addAttribute ( "name" , CKFinder_Connector_Utils_FileSystem :: convertToConnectorEncoding ( $ name ) ) ; if ( $ type ) { $ oErrorNode -> addAttribute ( "type" , $ type ) ; } if ( $ path ) { $ oErrorNode -> addAttribute ( "folder" , $ path ) ; } $ oErrorsNode -> addChild ( $ oErrorNode ) ; }
Add error node to the list
@param obj $oErrorsNode
@param int $errorCode
@param string $name
@param string $type
@param string $path
Add error node to the list