Changeset 14083

Show
Ignore:
Timestamp:
12/21/07 22:00:20 (10 months ago)
Author:
flack
Message:

spelling fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/build/class.JavaScriptPacker.php

    r12078 r14083  
    199199        private function _analyze($script, $regexp, $encode) { 
    200200                // analyse 
    201                 // retreive all words in the script 
     201                // retrieve all words in the script 
    202202                $all = array(); 
    203203                preg_match_all($regexp, $script, $all); 
  • trunk/midcom/com.magnettechnologies.contactgrabber/lib/gmail/libgmailer.php

    r13625 r14083  
    41474147                // $raw["cs"][12-$less_cs]      // may be 10 what is this?? array 
    41484148                // $raw["cs"][13-$less_cs]      // may be 11 what is this?? integer/bool? 
    4149                 // $raw["cs"][14-$less_cs]      // alwasy one less than 8 (one less than total messages in conv) 
     4149                // $raw["cs"][14-$less_cs]      // always one less than 8 (one less than total messages in conv) 
    41504150 
    41514151                $this->conv_labels = array (); 
  • trunk/midcom/midcom.core/globals.php

    r14082 r14083  
    1616 
    1717/** 
    18  * The main MidCOM applicaiton class. 
     18 * The main MidCOM application class. 
    1919 * 
    2020 * @global midcom_application $GLOBALS['midcom'] 
  • trunk/midcom/midcom.core/midcom/core/group.php

    r11359 r14083  
    6666 
    6767    /** 
    68      * The constructor retrieves the group indentified by its name from the database and 
     68     * The constructor retrieves the group identified by its name from the database and 
    6969     * prepares the object for operation. 
    7070     * 
     
    183183    /** 
    184184     * This function will return a MidCOM DBA level storage object for the current group. Be aware, 
    185      * that depending on ACL information, the retrival of the user may fail. 
     185     * that depending on ACL information, the retrieval of the user may fail. 
    186186     * 
    187187     * Also, as outlined in the member $_storage, not all groups may have a DBA object associated 
  • trunk/midcom/midcom.core/midcom/core/group_midgard.php

    r12638 r14083  
    2424 
    2525    /** 
    26      * The constructor retrieves the group indentified by its name from the database and 
     26     * The constructor retrieves the group identified by its name from the database and 
    2727     * prepares the object for operation. 
    2828     * 
     
    6262            { 
    6363                debug_push_class(__CLASS__, __FUNCTION__); 
    64                 debug_add("Failed to retreive the group GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
     64                debug_add("Failed to retrieve the group GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
    6565                debug_pop(); 
    6666                return false; 
     
    7373            { 
    7474                debug_push_class(__CLASS__, __FUNCTION__); 
    75                 debug_add("Failed to retreive the group GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
     75                debug_add("Failed to retrieve the group GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
    7676                debug_pop(); 
    7777                return false; 
     
    8484            { 
    8585                debug_push_class(__CLASS__, __FUNCTION__); 
    86                 debug_add("Failed to retreive the group ID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
     86                debug_add("Failed to retrieve the group ID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
    8787                debug_pop(); 
    8888                return false; 
  • trunk/midcom/midcom.core/midcom/core/group_virtual.php

    r13590 r14083  
    4343 
    4444    /** 
    45      * The constructor retrieves the virtual group indentified by its identifier by loading 
     45     * The constructor retrieves the virtual group identified by its identifier by loading 
    4646     * the corresponding component. 
    4747     * 
     
    174174            if (! $members) 
    175175            { 
    176                 // Silently ignore failed membership retrivals, they were already logged. 
     176                // Silently ignore failed membership retrievals, they were already logged. 
    177177                continue; 
    178178            } 
  • trunk/midcom/midcom.core/midcom/core/user.php

    r13590 r14083  
    1212 * manipulate accounts, instead, this is an abstraction used in the ACL system. 
    1313 * 
    14  * You must not create these objectes directly. Instead, use the factory method 
     14 * You must not create these objects directly. Instead, use the factory method 
    1515 * $_MIDCOM->auth->get_user($id), where $id is any valid constructor argument 
    1616 * for a midcom_baseclasses_database_person. 
     
    4747     * 
    4848     * @var string 
    49      * @acccess public 
     49     * @access public 
    5050     */ 
    5151    var $name = null; 
     
    5757     * 
    5858     * @var string 
    59      * @acccess public 
     59     * @access public 
    6060     */ 
    6161    var $rname = null; 
     
    9191 
    9292    /** 
    93      * This array lists all groups the user is a member in orderd by their inheritance 
    94      * chain. The first element in the array is alwas the top-level group, while the last 
     93     * This array lists all groups the user is a member in ordered by their inheritance 
     94     * chain. The first element in the array is always the top-level group, while the last 
    9595     * one is always a member of $_direct_groups. This is therefore a multilevel array and is 
    9696     * indexed by the direct group id's (midcom_core_group id's, not Midgard IDs!) of the 
     
    162162 
    163163    /** 
    164      * The constructor retrieves the user indentified by its name from the database and 
     164     * The constructor retrieves the user identified by its name from the database and 
    165165     * prepares the object for operation. 
    166166     * 
     
    211211            { 
    212212                debug_push_class(__CLASS__, __FUNCTION__); 
    213                 debug_add("Failed to retreive the person GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
     213                debug_add("Failed to retrieve the person GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
    214214                debug_pop(); 
    215215                return false; 
     
    222222            { 
    223223                debug_push_class(__CLASS__, __FUNCTION__); 
    224                 debug_add("Failed to retreive the person GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
     224                debug_add("Failed to retrieve the person GUID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
    225225                debug_pop(); 
    226226                return false; 
     
    233233            { 
    234234                debug_push_class(__CLASS__, __FUNCTION__); 
    235                 debug_add("Failed to retreive the person ID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
     235                debug_add("Failed to retrieve the person ID {$id}: " . mgd_errstr(), MIDCOM_LOG_INFO); 
    236236                debug_pop(); 
    237237                return false; 
     
    352352 
    353353    /** 
    354      * Loads all groups the user is a direct member and assignes them to the _direct_groups member. 
     354     * Loads all groups the user is a direct member and assigns them to the _direct_groups member. 
    355355     * 
    356356     * @access protected 
     
    514514     * 
    515515     * 1. A valid group object (subclass of midcom_core_group) 
    516      * 2. A group or vgroup string identifer, matching the regex ^v?group: 
     516     * 2. A group or vgroup string identifier, matching the regex ^v?group: 
    517517     * 3. A valid midcom group name 
    518518     * 
     
    554554    /** 
    555555     * This function will return a MidCOM DBA level storage object for the current user. Be aware, 
    556      * that depending on ACL information, the retrival of the user may fail. 
     556     * that depending on ACL information, the retrieval of the user may fail. 
    557557     * 
    558558     * @return midcom_db_person The user which is associated with this record or false if the object cannot be accessed. 
  • trunk/midcom/midcom.core/midcom/helper/_basicnav.php

    r14002 r14083  
    501501        $nodedata[MIDCOM_NAV_OBJECT] = $topic; 
    502502 
    503         // Temporary compatiblity value 
     503        // Temporary compatibility value 
    504504        $nodedata[MIDCOM_NAV_VISIBLE] = true; 
    505505 
  • trunk/midcom/midcom.core/midcom/helper/mailtemplate.php

    r13945 r14083  
    1313 * set and sends it using the PEAR Mail classes. 
    1414 *  
    15  * <b>Prerequisits</b> 
     15 * <b>Prerequisites</b> 
    1616 *  
    1717 * - PEAR Package: Mail 
     
    3939 * actual array. 
    4040 *  
    41  * Again, you can acccess the (whole) array using "__KEY__". In that case you will 
     41 * Again, you can access the (whole) array using "__KEY__". In that case you will 
    4242 * get a formatted output of all keys and values, consisting of "SUBKEY: VALUE"  
    4343 * entries. The value gets word-wrapped and indented automatically at about 76 
  • trunk/midcom/midcom.core/midcom/helper/metadata.php

    r13625 r14083  
    4343 * - <b>MidgardPerson approver:</b> The person that approved/unapproved the object. Set automatically through approve/unapprove. 
    4444 * 
    45  * <b>Example Usage, Metadata Retrival</b> 
     45 * <b>Example Usage, Metadata Retrieval</b> 
    4646 * 
    4747 * <code> 
     
    336336     * "0" is rewritten to "1" to use the MidgardAdministrator account instead. 
    337337     * 
    338      * @param string $key The key to retrive. 
     338     * @param string $key The key to retrieve. 
    339339     * @access private 
    340340     */ 
  • trunk/midcom/midcom.core/midcom/helper/misc.php

    r13625 r14083  
    1212 * or in the database and returns its content or code-field, respecitvly. 
    1313 * 
    14  * Prefix the snippet Path with 'file:' for retrival of a file relative to 
     14 * Prefix the snippet Path with 'file:' for retrieval of a file relative to 
    1515 * MIDCOM_ROOT; omit it to get the code field of a Snippet. 
    1616 * 
     
    4848 * or in the database and returns its content or code-field, respecitvly. 
    4949 * 
    50  * Prefix the snippet Path with 'file:' for retrival of a file relative to 
     50 * Prefix the snippet Path with 'file:' for retrieval of a file relative to 
    5151 * MIDCOM_ROOT; omit it to get the code field of a Snippet. 
    5252 * 
     
    534534    { 
    535535        debug_add("Possible Failure to unserialize the attachment {$name}, unserialize returned false.", MIDCOM_LOG_INFO); 
    536         debug_add("PHP Eror Message was: {$php_errormsg}", MIDCOM_LOG_INFO); 
     536        debug_add("PHP Error Message was: {$php_errormsg}", MIDCOM_LOG_INFO); 
    537537        debug_print_r("Content Object:", $object); 
    538538        debug_print_r("Attachment {$name}:", $att); 
  • trunk/midcom/midcom.core/midcom/services/cache.php

    r13945 r14083  
    2020 * The system is two fold: 
    2121 * 
    22  * There are cache backends, which are responsible for the actual storage and retrival of 
     22 * There are cache backends, which are responsible for the actual storage and retrieval of 
    2323 * cache information, and cache modules, which provide caching services to the application 
    2424 * developer. 
  • trunk/midcom/midcom.core/midcom/services/cache/module/nap.php

    r14082 r14083  
    116116     * passed to the function are loaded. 
    117117     * 
    118      * For compatiblity with separated AIS/on-site Page MidCOM installations, the method 
     118     * For compatibility with separated AIS/on-site Page MidCOM installations, the method 
    119119     * will load the topic from the database and map all requests to a topic which is 
    120120     * of a midcom.admin.content type to the corresponding root content topic. Note, that 
    121      * this is actually a bug in the core's context seapration, which I have not yet 
     121     * this is actually a bug in the core's context separation, which I have not yet 
    122122     * found. Normally, all instances of basicnav should work within an on-site-context 
    123123     * and therefore this "fallback" should not be necessary. Unfortunately, sometimes 
  • trunk/midcom/midcom.core/support/autoconf.php

    r3894 r14083  
    22 
    33/** 
    4  * Autoconf Script which scans the system for all required utilities and prerequisits. 
     4 * Autoconf Script which scans the system for all required utilities and prerequisites. 
    55 * Prints all related <i>/etc/midgard/midcom.conf</i> lines for the autodetected information. 
    66 *  
     
    99 * be found. 
    1010 *  
    11  * If no argument is present, the detmined configuration is only written to stdout after the 
     11 * If no argument is present, the determined configuration is only written to stdout after the 
    1212 * debugging messages. Otherwise, the filename specified on the command line will be replaced 
    1313 * with the autodetected configuration.  
  • trunk/midcom/midcom.helper.datamanager/datatype_communityhtml.php

    r14082 r14083  
    8686 
    8787        $href_search = Array ( 
    88             "/([^\@]+)\@([\w-]+(\.[\w-]+){1,})/", /* E-Mail Adresse */ 
     88            "/([^\@]+)\@([\w-]+(\.[\w-]+){1,})/", /* E-Mail addresse */ 
    8989            "|(https?://[\w/.:%-]*)|i", /* URL */ 
    9090        ); 
  • trunk/midcom/midcom.helper.datamanager/datatype_unixdate.php

    r14082 r14083  
    2525     * 
    2626     * @var bool 
    27      * @acccess private 
     27     * @access private 
    2828     */ 
    2929    var $_store_as_iso_timestamp; 
  • trunk/midcom/midcom.helper.datamanager2/callback/select/grouplister.php

    r12722 r14083  
    2323 * 
    2424 * - <i>string key_field:</i> The field used as key. Valid options are id, guid 
    25  *   midcomid and name. Defaults to guid. 'midcomid' is a group:$identifer combination 
     25 *   midcomid and name. Defaults to guid. 'midcomid' is a group:$identifier combination 
    2626 *   suitable for usage in the MidCOM ACL system. 
    2727 * - <i>string value_field:</i> The field used as value. Valid is any field available 
  • trunk/midcom/midcom.helper.datamanager2/callback/select/personlister.php

    r12722 r14083  
    2323 * 
    2424 * - <i>string key_field:</i> The field used as key. Valid options are id, guid 
    25  *   midcomid and name. Defaults to guid. 'midcomid' is a person:$identifer combination 
     25 *   midcomid and name. Defaults to guid. 'midcomid' is a person:$identifier combination 
    2626 *   suitable for usage in the MidCOM ACL system. 
    2727 * - <i>string value_field:</i> The field used as value. Valid is any field available 
  • trunk/midcom/midcom.helper.datamanager2/type/image.php

    r13738 r14083  
    509509     * Overwrites image content from file, recalculates size etc 
    510510     * 
    511      * @param $identifer image identifier to update 
     511     * @param $identifier image identifier to update 
    512512     * @param $file file to use 
    513513     * @return boolean indicating success/failure 
  • trunk/midcom/midcom.helper.datamanager2/type/select.php

    r14082 r14083  
    2929 *   comma separated listing of unknown options during loading, which will be kept in 
    3030 *   that simple string representation. Otherwise, unknown keys will be forbidden, on 
    31  *   validations they cause a validation eror, on loading they are dropped silently. 
     31 *   validations they cause a validation error, on loading they are dropped silently. 
    3232 *   This option is set to false by default. 
    3333 * - <i>bool allow_multiple:</i> If this flag is set, you may select more then one 
  • trunk/midcom/midcom.helper.datamanager2/type/video.php

    r13625 r14083  
    514514     * Overwrites image content from file, recalculates size etc 
    515515     * 
    516      * @param $identifer image identifier to update 
     516     * @param $identifier image identifier to update 
    517517     * @param $file file to use 
    518518     * @return boolean indicating success/failure 
  • trunk/midcom/midcom.helper.xml/toarray.php

    r14082 r14083  
    152152     * @param resource parser 
    153153     * @param string name of the xml tag 
    154      * @param array attrs the attribtues found in the tag. 
     154     * @param array attrs the attributes found in the tag. 
    155155     * @access private 
    156156     */ 
  • trunk/midcom/midgard.admin.sitegroup/creation/host.php

    r14082 r14083  
    531531     * Abstract out the object creation as it differs in 1.7 and 1.8. 
    532532     * @param string classname 
    533      * @param array ( attributename => value ) attribtues to be created 
     533     * @param array ( attributename => value ) attributes to be created 
    534534     * @param string name of the attribute to save the storage in . 
    535535     * @param int the sitegroup the object should have 
     
    650650    /** 
    651651     * @param string tablename 
    652      * @param array ( attributename => value ) attribtues to be created 
     652     * @param array ( attributename => value ) attributes to be created 
    653653     * @param string name of the attribute to save the storage in . 
    654654     * @param int the sitegroup the object should have 
     
    757757     * 
    758758     * @param string tablename 
    759      * @param array ( attributename => value ) attribtues to be created 
     759     * @param array ( attributename => value ) attributes to be created 
    760760     * @param string name of the attribute to save the storage in . 
    761761     * @param int the sitegroup the object should have 
  • trunk/midcom/net.nehmer.account/handler/maintain.php

    r12964 r14083  
    707707     * 
    708708     * We assume that the username has been validated by the QuickForm already, 
    709      * in case we cannot retreive the record, we just trigger a generate_error. 
     709     * in case we cannot retrieve the record, we just trigger a generate_error. 
    710710     * 
    711711     * @param string $username The name of the user who wants his password reset. 
  • trunk/midcom/net.nehmer.comments/midcom/interfaces.php

    r13331 r14083  
    1818 * 
    1919 * The component stores the data in its own table, indexed by the object guid they are 
    20  * bound to. There is no threading support, comments are orderd by creation date. 
     20 * bound to. There is no threading support, comments are ordered by creation date. 
    2121 * 
    2222 * Commenting is currently only allowed for registered users for security reasons. 
  • trunk/midcom/net.nehmer.jobmarket/locale/default.de.txt

    r2560 r14083  
    2828---STRINGEND 
    2929 
    30 ---STRING edit applicaiton 
     30---STRING edit application 
    3131Gesuch bearbeiten 
    3232---STRINGEND 
  • trunk/midcom/net.nehmer.jobmarket/locale/default.en.txt

    r2536 r14083  
    2828---STRINGEND 
    2929 
    30 ---STRING edit applicaiton 
     30---STRING edit application 
    3131Edit application 
    3232---STRINGEND 
  • trunk/midcom/net.nehmer.static/handler/autoindex.php

    r13093 r14083  
    144144     * - string lastmod: The localized last modified date. 
    145145     * 
    146      * @return Array Autoindex objectes as outlined above 
     146     * @return Array Autoindex objects as outlined above 
    147147     */ 
    148148    function _load_autoindex_data() 
  • trunk/midcom/net.nemein.registrations/config/schemadb_default.inc

    r13945 r14083  
    140140        ( 
    141141            // COMPONENT-REQUIRED 
    142             'title' => 'emailadress', 
     142            'title' => 'emailaddress', 
    143143            'storage' => 'email', 
    144144            'required' => true, 
  • trunk/midcom/net.nemein.registrations/event.php

    r13625 r14083  
    658658        $_MIDCOM->auth->require_do('midgard:parameters', $registration); 
    659659 
    660         // Check registrar privileges (for OpenPSA 1 compatiblity) 
     660        // Check registrar privileges (for OpenPSA 1 compatibility) 
    661661        $_MIDCOM->auth->require_do('midgard:update', $registrar_object); 
    662662        $_MIDCOM->auth->require_do('midgard:parameters', $registrar_object); 
  • trunk/midcom/net.nemein.registrations/locale/default.de.txt

    r3053 r14083  
    156156---STRINGEND 
    157157 
    158 ---STRING email adress invalid 
     158---STRING email address invalid 
    159159Bitte geben Sie eine gÃŒltige E-Mail Adresse ein. 
    160160---STRINGEND 
     
    164164---STRINGEND 
    165165 
    166 ---STRING emailadress 
     166---STRING emailaddress 
    167167E-Mail Adresse 
    168168---STRINGEND 
     
    408408---STRINGEND 
    409409 
    410 ---STRING this email adress is already registered 
     410---STRING this email address is already registered 
    411411Zu dieser E-Mail Adresse existiert bereits ein Benutzerkonto. 
    412412---STRINGEND 
  • trunk/midcom/net.nemein.registrations/locale/default.en.txt

    r5497 r14083  
    168168---STRINGEND 
    169169 
    170 ---STRING email adress invalid 
     170---STRING email address invalid 
    171171Please enter a valid E-Mail address. 
    172172---STRINGEND 
     
    176176---STRINGEND 
    177177 
    178 ---STRING emailadress 
     178---STRING emailaddress 
    179179E-Mail address 
    180180---STRINGEND 
     
    440440---STRINGEND 
    441441 
    442 ---STRING this email adress is already registered 
     442---STRING this email address is already registered 
    443443An account has already been created using this E-Mail address. 
    444444---STRINGEND 
  • trunk/midcom/net.nemein.registrations/locale/default.fi.txt

    r5497 r14083  
    168168---STRINGEND 
    169169 
    170 ---STRING email adress invalid 
     170---STRING email address invalid 
    171171Ole hyvÀ ja syötÀ oikea sÀhköpostiosoite. 
    172172---STRINGEND 
     
    176176---STRINGEND 
    177177 
    178 ---STRING emailadress 
     178---STRING emailaddress 
    179179SÀhköposti 
    180180---STRINGEND 
     
    440440---STRINGEND 
    441441 
    442 ---STRING this email adress is already registered 
     442---STRING this email address is already registered 
    443443TÀllÀ sÀhköpostiosoitteella on jo avattu kÀyttÀjÀtunnus. 
    444444---STRINGEND 
  • trunk/midcom/net.nemein.registrations/locale/default.sv.txt

    r1837 r14083  
    140140---STRINGEND 
    141141 
    142 ---STRING email adress invalid 
     142---STRING email address invalid 
    143143Var god fyll i en giltig E-post address 
    144144---STRINGEND 
     
    148148---STRINGEND 
    149149 
    150 ---STRING emailadress 
     150---STRING emailaddress 
    151151E-post address 
    152152---STRINGEND 
     
    332332---STRINGEND 
    333333 
    334 ---STRING this email adress is already registered 
     334---STRING this email address is already registered 
    335335Ett konto har redans skapats med den hÀr e-post addressen. 
    336336---STRINGEND 
  • trunk/midcom/net.nemein.registrations/registration.php

    r13625 r14083  
    130130 
    131131    /** 
    132      * Retrive the registrar object associated with this registration. 
     132     * Retrieve the registrar object associated with this registration. 
    133133     * 
    134134     * @return net_nemein_registrations_registrar The registrar. 
     
    141141 
    142142    /** 
    143      * Retrive the event object associated with this registration. 
     143     * Retrieve the event object associated with this registration. 
    144144     * 
    145145     * @return net_nemein_registrations_event The event. 
  • trunk/midcom/no.odindata.quickform/config/schemadb_default.inc

    r5094 r14083  
    3636                'email' =>  
    3737                array( 
    38                     'message' => 'You have to use a valid email adress', 
     38                    'message' => 'You have to use a valid email address', 
    3939                ) 
    4040            ) 
  • trunk/midcom/no.odindata.quickform2/emailgenerator.php

    r14082 r14083  
    3434 
    3535    /** 
    36      * The from adress set in the config as sender adress 
     36     * The from adress set in the config as sender address 
    3737     * @var string 
    3838     */ 
     
    4343    var $encoding; 
    4444    /** 
    45      *  the reciept message 
     45     *  the receipt message 
    4646     * @var string 
    4747     */ 
     
    154154 
    155155    /** 
    156      * Add the reciept data 
     156     * Add the receipt data 
    157157     * @param $add boolean 
    158158     */ 
     
    177177    } 
    178178    /** 
    179      * Set to true if the submiter should get a reciept of the 
     179     * Set to true if the submitter should get a receipt of the 
    180180     * email 
    181181     * @param $send boolean true if mail should be sent 
     
    187187 
    188188    /** 
    189      * Sets the reciept message 
     189     * Sets the receipt message 
    190190     * @param $msg string 
    191191     */ 
     
    195195    } 
    196196    /** 
    197      * The fromadress 
     197     * The fromaddress 
    198198     * @var $from string 
    199199     */ 
     
    209209    } 
    210210    /** 
    211      * Sets the reply_to adress 
     211     * Sets the reply_to address 
    212212     * @param $to string 
    213213     */ 
     
    258258    } 
    259259    /** 
    260      * This function sets the emailadress that the submitted form will 
     260     * This function sets the emailaddress that the submitted form will 
    261261     * be sent to. 
    262      * @param $to string the mailadress set in the configuration 
     262     * @param $to string the mailaddress set in the configuration 
    263263     */ 
    264264    function set_to ( $to ) 
  • trunk/midcom/no.odindata.quickform2/style/email.php

    r5048 r14083  
    77// the mail to send to the contact-recepient 
    88$mail =&  $_MIDCOM->get_custom_context_data('mail'); 
    9 // the reciept mail  
     9// the receipt mail  
    1010$reciept =&  $_MIDCOM->get_custom_context_data('reciept'); 
    1111$form  =&  $_MIDCOM->get_custom_context_data('form');