public __construct ( |
||
$entityInfo | ||
$actionsInfo | ||
$action | string | |
$entityId | string | |
$customTags | array | |
$customFiles | array |
public function __construct($action, $entityId, $postType, $postTitle, $postUpdatedProperties = array()) { parent::__construct("post", $action, $entityId); $this->postType = $postType; $this->postTitle = $postTitle; $this->postUpdatedProperties = implode(",", $postUpdatedProperties); }
public function __construct($action, $entityId, $termName, $termVpId, $metaKey) { parent::__construct("termmeta", $action, $entityId); $this->termName = $termName; $this->termVpId = $termVpId; $this->metaKey = $metaKey; }
public function __construct($action, $entityId, $userLogin, $userMetaKey, $userVpId) { parent::__construct("usermeta", $action, $entityId); $this->userLogin = $userLogin; $this->userMetaKey = $userMetaKey; $this->userVpId = $userVpId; }
public function __construct($action, $entityId, $termName, $taxonomy, $oldTermName = null) { parent::__construct("term", $action, $entityId); $this->termName = $termName; $this->taxonomy = $taxonomy; $this->oldTermName = $oldTermName; }
public function __construct($action, $entityId, $postType, $postTitle, $postVpId, $metaKey) { parent::__construct("postmeta", $action, $entityId); $this->postType = $postType; $this->postTitle = $postTitle; $this->postVpId = $postVpId; $this->metaKey = $metaKey; }
public function __construct($action, $entityId, $commentAuthor, $commentedPost) { parent::__construct("comment", $action, $entityId); $this->commentAuthor = $commentAuthor; $this->commentedPost = $commentedPost; }
public function __construct($action, $entityId, $userLogin) { parent::__construct("user", $action, $entityId); $this->userLogin = $userLogin; }
public function __construct($action, $entityId) { parent::__construct("option", $action, $entityId); }
public function __construct($action, $entityId, $taxonomy, $termName) { parent::__construct("term_taxonomy", $action, $entityId); $this->taxonomy = $taxonomy; $this->termName = $termName; }