Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

inheritance with taggable

By: a guest on Apr 1st, 2010  |  syntax: PHP  |  size: 0.53 KB  |  views: 82  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2. Bal_User:
  3.     actAs:
  4.         Taggable:
  5.             tagAlias: "SubscriptionTags"
  6.         SoftDelete:
  7.         Timestampable:
  8.     columns:
  9.         id:
  10.             type: integer(2)
  11.             unsigned: true
  12.             primary: true
  13.             autoincrement: true
  14.         username:
  15.             type: string(16)
  16.             notblank: true
  17.             unique: true
  18.  
  19. User:
  20.     inheritance:
  21.         extends: Bal_User
  22.         type: simple
  23.     columns:
  24.         fullname:
  25.             type: string(85)
  26.             notblank: true