Changeset 13378

Show
Ignore:
Timestamp:
11/11/07 18:49:16 (1 year ago)
Author:
flack
Message:

fix a few spelling errors (singelton, instaninated)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/autoload.php

    r11824 r13378  
    144144 
    145145        /** 
    146          * The static singelton instance 
     146         * The static singleton instance 
    147147         */ 
    148148        private static $soleInstance = FALSE; 
     
    163163                } 
    164164        /** 
    165          * Singelton factory 
    166          * Remember: Singeltons are hidden GLOBALS!  
     165         * Singleton factory 
     166         * Remember: Singletons are hidden GLOBALS!  
    167167         * @todo: register autoloader instead 
    168168         */ 
  • trunk/midcom/midcom.core/midcom/application.php

    r13355 r13378  
    562562        { 
    563563            debug_push_class(__CLASS__, __FUNCTION__); 
    564             debug_add('URL Parser is not instantinated, bailing out.', MIDCOM_LOG_ERROR); 
     564            debug_add('URL Parser is not instantiated, bailing out.', MIDCOM_LOG_ERROR); 
    565565            debug_pop(); 
    566566            $this->generate_error(MIDCOM_ERRCRIT, $GLOBALS['midcom_errstr']); 
     
    720720        if (!$this->_parser) 
    721721        { 
    722             debug_add("URL Parser could not be instantinated: $midcom_errstr", MIDCOM_LOG_ERROR); 
     722            debug_add("URL Parser could not be instantiated: $midcom_errstr", MIDCOM_LOG_ERROR); 
    723723            debug_pop(); 
    724             $this->generate_error(MIDCOM_ERRCRIT, "URL Parser could not be instantinated: {$GLOBALS['midcom_errstr']}"); 
     724            $this->generate_error(MIDCOM_ERRCRIT, "URL Parser could not be instantiated: {$GLOBALS['midcom_errstr']}"); 
    725725        } 
    726726 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/request.php

    r13129 r13378  
    1010 
    1111/** 
    12  * Base class to encaspulate a request to the component, instantinated by the MidCOM 
     12 * Base class to encaspulate a request to the component, instantiated by the MidCOM 
    1313 * component interface. 
    1414 * 
     
    2222 * request handle decision ("Can Handle Phase"), one for the 
    2323 * request handling ("Handle Phase") and one for output ("Output Phase"). These handlers can 
    24  * either be contained in this class or refer to another class which gets instantinated, if 
     24 * either be contained in this class or refer to another class which gets instantiated, if 
    2525 * neccesary. 
    2626 * 
     
    5151 *   you can refer to an external class for request processing using an array syntax. The 
    5252 *   first array member must either contain the name of a existing class or a reference to 
    53  *   an already instantinated class. This value has 
     53 *   an already instantiated class. This value has 
    5454 *   no default and must be set. The actual methods called will have either an _handle_ or _show_ 
    5555 *   prefixed to the exec_handler value, respecitvly. See below for automatic handler instances, 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/request_admin.php

    r13129 r13378  
    1010 
    1111/** 
    12  * Base class to encaspulate a admin request to the component, instantinated by the MidCOM 
     12 * Base class to encaspulate a admin request to the component, instantiated by the MidCOM 
    1313 * component interface. 
    1414 * 
  • trunk/midcom/midcom.core/midcom/core/user.php

    r12322 r13378  
    170170     * in normal operations regarding persons. 
    171171     * 
    172      * @param mixed $id This is either an Midgard Person ID or GUID, a midcom_user ID or an already instantinated midgard_person. 
     172     * @param mixed $id This is either an Midgard Person ID or GUID, a midcom_user ID or an already instantiated midgard_person. 
    173173     * @access protected 
    174174     */ 
     
    198198     * member. 
    199199     * 
    200      * @param mixed $id This is either an Midgard Person ID or GUID, a midcom_user ID or an already instantinated midgard_person. 
     200     * @param mixed $id This is either an Midgard Person ID or GUID, a midcom_user ID or an already instantiated midgard_person. 
    201201     * @return bool Indicating success. 
    202202     */ 
  • trunk/midcom/midcom.core/midcom/helper/metadata.php

    r13129 r13378  
    1010/** 
    1111 * This class is an interface to the metadata of MidCOM objects. It is not to 
    12  * be instantinated directly, as a cache is in place to avoide duplicate metadata 
    13  * objects for the same Midgard Object. So, basically, each of these object is 
    14  * a singelton. 
     12 * be instantiated directly, as a cache is in place to avoid duplicate metadata 
     13 * objects for the same Midgard Object. So, basically, each of these objects is 
     14 * a singleton. 
    1515 * 
    1616 * It will use an internal mechanism to cache repeated accesses to the same 
     
    378378                } 
    379379                break; 
    380                  
     380 
    381381            // Group property 
    382382            case 'owner': 
  • trunk/midcom/midcom.core/midcom/helper/toolbars.php

    r13303 r13378  
    128128      
    129129    /** 
    130      * Singelton interface, returns the factory instance. 
     130     * singleton interface, returns the factory instance. 
    131131     * 
    132132     * @return midcom_admin_toolbar Factory instance 
  • trunk/midcom/midcom.core/midcom/services/_sessioning.php

    r13307 r13378  
    99 
    1010/** 
    11  * Base singelton class of the MidCOM sessioning service. 
    12  * 
    13  * This is a singelton class, that is accessible through the MidCOM Service 
     11 * Base singleton class of the MidCOM sessioning service. 
     12 * 
     13 * This is a singleton class, that is accessible through the MidCOM Service 
    1414 * infrastructure. It manages session data of MidCOM driven applications. 
    1515 * 
     
    4343 * Do <b>never</b> create an instance of this class directly. This is handled 
    4444 * by the framework. Instead use midcocm_service_session which ensures the 
    45  * singelton pattern. 
     45 * singleton pattern. 
    4646 * 
    4747 * Do <b>never</b> work directly with the $_SESSION["midcom_session_data"] 
  • trunk/midcom/midcom.core/midcom/services/i18n.php

    r13260 r13378  
    8484 
    8585    /** 
    86      * Cache of all instantinated localization classes. They are delivered 
     86     * Cache of all instantiated localization classes. They are delivered 
    8787     * by reference to all clients. 
    8888     * 
  • trunk/midcom/midcom.core/midcom/services/indexer/document.php

    r12941 r13378  
    2525 * - <i>text</i> is stored, indexed and tokenized. 
    2626 * 
    27  * This class should not be instantinated directly, a new instance of this class 
     27 * This class should not be instantiated directly, a new instance of this class 
    2828 * can be obtained using the midcom_service_indexer class. 
    2929 * 
     
    259259     *   Return true if the document is visible, false otherwise. 
    260260     * - 'class:$class_name': Like above, but using a class instead. The class must provide a statically callable <i>get_instance()</i> method, which 
    261      *   returns a usable instance of the class (mostly, this should be a singelton, for performance reasons). The instance returned is assigned 
     261     *   returns a usable instance of the class (mostly, this should be a singleton, for performance reasons). The instance returned is assigned 
    262262     *   by-reference. On that object, the method check_document_permissions, whose signature must be identical to the function callback. 
    263263     * 
  • trunk/midcom/midcom.core/midcom/services/session.php

    r11906 r13378  
    3535 * <b>Implementation Notes:</b> 
    3636 *  
    37  * This is a simple wrapper that provides access to the sessioning singelton. 
     37 * This is a simple wrapper that provides access to the sessioning singleton. 
    3838 * It has the same public member functions as midcom_service__sessioning, refer 
    3939 * to this class for a detailed documentation. 
     
    4848     
    4949    /** 
    50      * Sessioning singelton. 
     50     * Sessioning singleton. 
    5151     *  
    5252     * @var midcom_service__sessioning 
  • trunk/midcom/midcom.helper.datamanager/datamanager.php

    r13129 r13378  
    410410 
    411411    /** 
    412      * Pointer to a RuleRegistry singeltonobject. 
     412     * Pointer to a RuleRegistry singletonobject. 
    413413     * 
    414414     * @var ??? 
     
    608608     * 
    609609     * The datamanager loads the object and 
    610      * initializes all local fields accordingly. All datatypes get instantinated 
     610     * initializes all local fields accordingly. All datatypes get instantiated 
    611611     * and the data array gets populated. If the object has no schema associated with 
    612612     * it, it defaults to the first layout in the database. 
     
    21692169    /** 
    21702170     * Call this function if you no longer need the DM instance. It will drop 
    2171      * all instantinated classes and resolve the cyclic references which prevent 
     2171     * all instantiated classes and resolve the cyclic references which prevent 
    21722172     * a DM instance to be garbage collected by PHP. 
    21732173     */ 
  • trunk/midcom/net.nemein.bookmarks/viewer.php

    r11907 r13378  
    320320            if (! $layout) 
    321321            { 
    322                 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Layout class could not be instantinated."); 
     322                $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Layout class could not be instantiated."); 
    323323            } 
    324324              
     
    361361            if (! $layout) 
    362362            { 
    363                 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Layout class could not be instantinated."); 
     363                $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Layout class could not be instantiated."); 
    364364            } 
    365365             
  • trunk/midcom/net.nemein.payment/factory.php

    r11907 r13378  
    3232     * Constructor, initialize base class. 
    3333     * 
    34      * Do not call this directly, this class is a singelton, use get_instance() 
     34     * Do not call this directly, this class is a singleton, use get_instance() 
    3535     * instead. 
    3636     * 
     
    151151 
    152152    /** 
    153      * Singelton interface, returns the factory instance. 
     153     * Singleton interface, returns the factory instance. 
    154154     * 
    155155     * @return net_nemein_payment_factory Factory instance 
  • trunk/midcom/net.nemein.personnel/viewer.php

    r11907 r13378  
    463463        $this->_layout = new midcom_helper_datamanager($GLOBALS["net_nemein_personnel_layouts"]); 
    464464        if (!$this->_layout) { 
    465             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     465            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    466466            // This will exit. 
    467467        } 
     
    694694          if (! $this->_layout) 
    695695            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 
    696                 "Datamanager class could not be instantinated."); 
     696                "Datamanager class could not be instantiated."); 
    697697 
    698698          if (! $this->_layout->init($this->_person)) 
  • trunk/midcom/org.openpsa.calendar/viewer.php

    r12014 r13378  
    4040 
    4141        if (!$this->_datamanager) { 
    42             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     42            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    4343            // This will exit. 
    4444        } 
  • trunk/midcom/org.openpsa.contacts/viewer.php

    r12480 r13378  
    309309 
    310310        if (!$this->_datamanagers[$type]) { 
    311             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     311            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    312312            // This will exit. 
    313313        } 
  • trunk/midcom/org.openpsa.directmarketing/viewer.php

    r12364 r13378  
    335335        if (!$this->_datamanagers[$type]) { 
    336336            debug_pop(); 
    337             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     337            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    338338            // This will exit. 
    339339        } 
  • trunk/midcom/org.openpsa.documents/viewer.php

    r11907 r13378  
    117117 
    118118        if (!$this->_datamanagers[$type]) { 
    119             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     119            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    120120            // This will exit. 
    121121        } 
  • trunk/midcom/org.openpsa.imp/viewer.php

    r4794 r13378  
    246246        if (!$this->_request_data['datamanager']) { 
    247247            debug_pop(); 
    248             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     248            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    249249            // This will exit. 
    250250        } 
  • trunk/midcom/org.openpsa.invoices/handler/delete.php

    r4794 r13378  
    2929 
    3030        if (!$this->_datamanager) { 
    31             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     31            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    3232            // This will exit. 
    3333        } 
  • trunk/midcom/org.openpsa.invoices/handler/edit.php

    r12140 r13378  
    2929 
    3030        if (!$this->_datamanager) { 
    31             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     31            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    3232            // This will exit. 
    3333        } 
  • trunk/midcom/org.openpsa.projects/handler/hours/action.php

    r12014 r13378  
    3737 
    3838        if (!$this->_datamanagers[$type]) { 
    39             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     39            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    4040            // This will exit. 
    4141        } 
  • trunk/midcom/org.openpsa.projects/viewer.php

    r11907 r13378  
    324324 
    325325        if (!$this->_datamanagers[$type]) { 
    326             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     326            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    327327            // This will exit. 
    328328        } 
  • trunk/midcom/org.openpsa.reports/reports_handler_base.php

    r12014 r13378  
    6868        if (!$this->_datamanagers[$type]) { 
    6969            debug_pop(); 
    70             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     70            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    7171            // This will exit. 
    7272        } 
  • trunk/midcom/org.openpsa.sales/handler/edit.php

    r12014 r13378  
    4444        if (!$this->_datamanagers[$type]) { 
    4545            debug_pop(); 
    46             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     46            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    4747            // This will exit. 
    4848        } 
  • trunk/midcom/org.openpsa.sales/handler/list.php

    r4794 r13378  
    234234        { 
    235235            debug_pop(); 
    236             $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantinated."); 
     236            $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "Datamanager could not be instantiated."); 
    237237            // This will exit. 
    238238        }