public function triggerEvent($action, $postTypeModel, $post, $postmeta)
	{
		if(method_exists($postTypeModel, $action)){
			$postTypeModel->$action($postTypeModel, $post, $postmeta);
		}
	}
public function triggerEvent($action, $postTypeModel, $post, $postmeta)
	{
		if(method_exists($postTypeModel, $action)){
			$postTypeModel->$action($postTypeModel, $post, $postmeta);
		}
	}
public function triggerEvent ( $ action , $ postTypeModel , $ post , $ postmeta ) { if ( method_exists ( $ postTypeModel , $ action ) ) { $ postTypeModel -> $ action ( $ postTypeModel , $ post , $ postmeta ) ; } }
Integrate events based on the action
Integrate events based on the action