NoPic eZine
  
Home
Impressum/Imprint
Datenschutz/Policies
 
1.Issue 2006.06/1
 1.1.phpWebSite 1.0.0RC1 released
 1.2.Installing pWS 1.0.0rc1
 1.3.Running thru install
   Install screen 1 (welcome)
   Install screen 2 (source,pear)
   Install screen 3 (db)
   Install screen 4 (config file done)
   Install screen 5 (core done)
   Install screen 6 (admin account)
   Install screen 7 (mod users)
   Install screen 8 (control panel)
   Install screen 9 (theme select)
   Install screen 10 (mod layout)
   Install screen 11 (mod boost)
   Install screen 12 (mod related)
   Install screen 13 (category)
   Install screen 14 (filecabinet)
   Install screen 15 (version)
   Install screen 16 (mod clipboard)
   Install screen 17 (mod notes)
   Install screen 18 (demographics)
    Readme Demograhics content
   Install screen 19 (comments)
   Install screen 20 (search)
   Install screen 21 (MiniAdmin)
 1.4.First anonymous touch
 1.5.Exploring fallout surface inside
 1.6.Module substitution
 1.7.Directory Tree
 1.8.Database Tables
 1.9.ReadMe summary
 1.10.Using module WebPages
 1.11.Using module MenuManager
 1.12.Using webPages Editor
 1.13.Styling and Themes

    en

Install screen 18 (demographics)

Module demographics (new module) has installed.

Readme Demograhics content

Source: docs/Demographics.txt

Demographics Module
by Matthew McNaney
---------------------------------------------------

Version 1.0
First draft. Demographics is still a fledgling module. For now, I will
cover the basic functionality. The hooks into the User authentication
are not in the first version.


Introduction
--------------------------------------------------
The Demographics module prevents the replication of user information
across several modules.


Registering your Module
--------------------------------------------------
When your module is installed, Demographics will look for a file named
"demographics.php" in your module's conf directory. The file should
appear like the following example from Comments:





Creating a Demographics User Object
--------------------------------------------------
User information is accessed via the Demographics_User class.

PHPWS_Core::initModClass('demographics', 'Demographics_User.php');

The Demographics User does not stand alone. You need to extend it:

class my_object extends Demographics_User {
...
}

Once extended, you select which demographic fields you are going to
access by declaring them as object vars:

class my_object extends Demographics_User {
    var $first_name;

}

info_type : The variable data type. Can be text, bool, or int. Default is text.
limit     : When the type is 'text',
    en

Copyright © 2006, VbID Verlagsbüro GmbH
pWS modules dcP, dcT, dc4db, Copyright © 2006, VbID Verlagsbüro GmbH
This Site is powered by phpWebSite © The Web Technology Group, Appalachian State University