skip to content

 Movable Type.org

  • Blog
  • Documentation
  • Open Source
  • Download

<<

  • NAME
  • METHODS
    • save()
    • remove([\%terms])
    • has($flag_name)
    • add_permissions
    • clear_full_permissions
    • clear_permissions
    • set_full_permissions
    • set_permissions
    • set_these_permissions
    • load_by_permission(@permissions)
  • AUTHOR & COPYRIGHT

NAME

MT::Role

METHODS

save()

Save this role and rebuild the associated permissions.

remove([\%terms])

Remove this role and optionally, constrain the set with %terms.

has($flag_name)

Return the value of "has" in MT::Permission for flag_name.

add_permissions

Return the value of "add_permissions" in MT::Permission.

clear_full_permissions

Return the value of "clear_full_permissions" in MT::Permission.

clear_permissions

Return the value of "clear_permissions" in MT::Permission.

set_full_permissions

Return the value of "set_full_permissions" in MT::Permission.

set_permissions

Return the value of "set_permissions" in MT::Permission.

set_these_permissions

Return the value of "set_these_permissions" in MT::Permission.

load_by_permission(@permissions)

Return a list of roles given by a list of @permissions.

AUTHOR & COPYRIGHT

Please see "AUTHOR & COPYRIGHT" in MT.

<<

Movable Type 4 Beta

  • Download
  • Getting Started
  • Documentation
  • Screenshots
  • Screencasts
  • What's New in MT4
  • Known Issues
  • Change Log
  • Send Us Feedback
  • FAQ

Search This Blog

Browse Site by Category

  • News4
  • Plugins1
  • Screencasts3

Subscribe to MT4 News




Powered By MT4

movabletype.org

  • Download
  • Getting Started
  • Documentation
  • Screenshots
  • What's New in MT4
  • Known Issues
  • Change Log
  • Send Us Feedback
  • FAQ

Get Help

  • Movable Type User Manual
    Crack it open and see whats under the hood
  • Movable Type Forums
    A place to help and be helped.
  • Knowledge Base
    A great big vat of support articles, best practices and Movable Type goodness.
  • ProNet
    Can't figure it out on your own? Theres a growing list of MT professionals who would be glad to help out.
  • All Support Docs »

Get Updates

Keep up with the community:

  • MT.org Community Article Feed
  • MT.org Comments Feed
  • Learning Movable Type Feed
  • The Style Archive Feed

What is this?

Copyright 2007 Six Apart Ltd. Some Rights Reserved