Guest User

Untitled

a guest
Jun 22nd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. /*
  2. * Returns true if a new or existing content object requires moderation.
  3. *
  4. * @param string $sContainerUrn The URN of the container object to which new content will be added or existing content will be editted.
  5. * This can either be an Acct URN if the content is directly added to a team, or a container object such
  6. * as Calendar, VLog, or Fligthboard.
  7. */
  8. function isModerationRequired( $sContainerUrn )
  9. {
  10. // tbd
  11. return false;
  12. }
  13.  
  14. /*
  15. * Returns true if the DbEntity object is currently in moderation, i.e. it has an active ModeratedPublishing interactive workflow
  16. * attached to it.
  17. *
  18. * @param object $oDbEntity A content object in the system, which may or may not be already published.
  19. */
  20. function isInModeration( $oDbEntity )
  21. {
  22. // tbd
  23. return false;
  24. }
Add Comment
Please, Sign In to add comment