PHP Class VersionPress\Tests\SynchronizerTests\Utils\EntityUtils

Show file Open project: versionpress/versionpress Class Usage Examples

Public Methods

Method Description
prepareComment ( $vpId = null, $postVpId = null, $authorVpId = null, $commentValues = [] )
prepareOption ( $name, $value )
preparePost ( $vpId = null, $authorVpId = null, $postValues = [] )
preparePostMeta ( $vpId = null, $postVpId = null, $key = null, $value = null )
prepareTerm ( $vpId = null, $name = null, $slug = null )
prepareTermMeta ( $vpId = null, $termVpId = null, $key = null, $value = null )
prepareTermTaxonomy ( $vpId = null, $termVpId = null, $taxonomy = null, $description = null )
prepareUser ( $vpId = null, $userValues = [] )
prepareUserMeta ( $vpId = null, $userVpId = null, $key = null, $value = null )

Method Details

prepareComment() public static method

public static prepareComment ( $vpId = null, $postVpId = null, $authorVpId = null, $commentValues = [] )

prepareOption() public static method

public static prepareOption ( $name, $value )

preparePost() public static method

public static preparePost ( $vpId = null, $authorVpId = null, $postValues = [] )

preparePostMeta() public static method

public static preparePostMeta ( $vpId = null, $postVpId = null, $key = null, $value = null )

prepareTerm() public static method

public static prepareTerm ( $vpId = null, $name = null, $slug = null )

prepareTermMeta() public static method

public static prepareTermMeta ( $vpId = null, $termVpId = null, $key = null, $value = null )

prepareTermTaxonomy() public static method

public static prepareTermTaxonomy ( $vpId = null, $termVpId = null, $taxonomy = null, $description = null )

prepareUser() public static method

public static prepareUser ( $vpId = null, $userValues = [] )

prepareUserMeta() public static method

public static prepareUserMeta ( $vpId = null, $userVpId = null, $key = null, $value = null )