Made to Order Software Corporation Logo

MO Glossary: mo_glossary.install File Reference

Install the mo_glossary module. More...

Functions

 mo_glossary_schema ()
 Defines the MO Glossary database tables.
 _mo_glossary_taxonomy ()
 Add a taxonomy named MO Glossary.
 mo_glossary_install ()
 Implementation of hook_install().
 mo_glossary_uninstall ()
 Implementation of hook_uninstall().
 mo_glossary_update_6001 ()
 Implementation of hook_update_#().

Detailed Description

Implementation of the MO Glossary module.

Copyright (c) 2009-2012 Made to Order Software Corp.

http://www.m2osw.com/mo_glossary contact@m2osw.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


Function Documentation

_mo_glossary_taxonomy ( )

This function adds the taxonomy named MO Glossary.

Note that we do not offer any specific node type. This vocabulary is actually expected to be used for the terms in the glossary but it is not required for it to be linked to any node. (That may change in the future.)

Referenced by mo_glossary_install().

mo_glossary_install ( )

This function installs the MO Glossary module.

This includes adding a table of glossary terms & descriptions and tweaking the FCK editor setup (when that module is installed) so that the edit area of our settings does not get WYSIWYG capabilities.

References _mo_glossary_taxonomy().

mo_glossary_schema ( )

Implementation of hook_schema().

This function declares:

  • A table to extend the taxonomy terms
Returns:
An array of database table schemas.
mo_glossary_uninstall ( )

This function removes the different variables used by the module.

mo_glossary_update_6001 ( )

This function adds the new mo_glossary_destination field.

Documentation generated by Doxygen on Sat Mar 24 2012 23:03:00