[commits] [Wiki] changed: Doc/Dev/SharesHowtoH4

Ralf Lang lang at b1-systems.de
Mon Mar 7 20:25:54 UTC 2011


rlang  Mon, 07 Mar 2011 20:25:54 +0000

Modified page: http://wiki.horde.org/Doc/Dev/SharesHowtoH4
New Revision:  1.1
Change log:  formatting

@@ -3,9 +3,9 @@

  Let's assume you followed the  [CreatingYourFirstModule Creating  
your first module] guide as far as it applies to horde4 and created a  
new horde app called "hort". Hort is an old German word for treasure  
as well as the place where the treasure is kept. Hort should keep  
safes which hold user/password pairs or other secret credentials.  
Those safes should be shareable among users. This is where  
horde_shares comes into play.


-+++ Application.php _init()
++++ basic setup in Application.php _init()

  We want to add an injector for the shares API whenever the app is  
initialized and we want to auto-create an initial "home" share for  
users which do not yet own one.

  <code>
@@ -29,8 +29,9 @@

      }
  </code>

++++ shares administration link in Application.php menu()


  Next we want to add a link to the shares administration screen in the menu.
  Go to the menu() function in Application.php
@@ -47,7 +48,7 @@

  </code>


-* add migrations for shares and sharesng driver tables
++++ migrations script (database setup) for shares and sharesng driver tables





More information about the commits mailing list