PHP Class WordpressImporter, gitblog

Mostrar archivo Open project: rsms/gitblog Class Usage Examples

Public Properties

Property Type Description
$debug
$defaultAuthorEmail
$doc
$includeAttachments
$includeComments
$objectCount

Public Methods

Method Description
__construct ( )
_mkdatetime ( $local, $utc, $localstr, $fallbackTZOffset )
createItemObject ( DOMNode $item )
deduceChannelTimezoneOffset ( $channel )
dump ( $obj, $name = null )
import ( DOMDocument $doc, $commitChannels = true )
importChannel ( DOMNode $channel, $commit )
importItem ( DOMNode $item, $fallbackTZOffset )
mkdirs ( $path, $maxdepth, $mode = 509 )
parseComment ( DOMNode $comment, &$wpid )
postProcessAttachment ( WPAttachment $obj )
postProcessExposedContent ( GBExposedContent $obj )
report ( $msg )
reportError ( $msg )
writeAttachment ( WPAttachment $obj )
writeComments ( GBExposedContent $obj )
writeExposedContent ( GBExposedContent $obj )
writemsg ( $timestr, $msgstr, $cssclass = '' )

Method Details

__construct() public method

public __construct ( )

_mkdatetime() public method

public _mkdatetime ( $local, $utc, $localstr, $fallbackTZOffset )

createItemObject() public method

public createItemObject ( DOMNode $item )
$item DOMNode

deduceChannelTimezoneOffset() public method

public deduceChannelTimezoneOffset ( $channel )

dump() public method

public dump ( $obj, $name = null )

import() public method

public import ( DOMDocument $doc, $commitChannels = true )
$doc DOMDocument

importChannel() public method

public importChannel ( DOMNode $channel, $commit )
$channel DOMNode

importItem() public method

public importItem ( DOMNode $item, $fallbackTZOffset )
$item DOMNode

mkdirs() public method

public mkdirs ( $path, $maxdepth, $mode = 509 )

parseComment() public method

public parseComment ( DOMNode $comment, &$wpid )
$comment DOMNode

postProcessAttachment() public method

public postProcessAttachment ( WPAttachment $obj )
$obj WPAttachment

postProcessExposedContent() public method

public postProcessExposedContent ( GBExposedContent $obj )
$obj GBExposedContent

report() public method

public report ( $msg )

reportError() public method

public reportError ( $msg )

writeAttachment() public method

public writeAttachment ( WPAttachment $obj )
$obj WPAttachment

writeComments() public method

public writeComments ( GBExposedContent $obj )
$obj GBExposedContent

writeExposedContent() public method

public writeExposedContent ( GBExposedContent $obj )
$obj GBExposedContent

writemsg() public method

public writemsg ( $timestr, $msgstr, $cssclass = '' )

Property Details

$debug public_oe property

public $debug

$defaultAuthorEmail public_oe property

public $defaultAuthorEmail

$doc public_oe property

public $doc

$includeAttachments public_oe property

public $includeAttachments

$includeComments public_oe property

public $includeComments

$objectCount public_oe property

public $objectCount