Changeset 1511 in main for trunk


Ignore:
Timestamp:
07/19/12 09:23:49 (9 years ago)
Author:
zali
Message:

doc : typo

Location:
trunk/openPLM/plmapp/controllers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openPLM/plmapp/controllers/document.py

    r1480 r1511  
    4242class DocumentController(PLMObjectController): 
    4343    """ 
    44     A :class:`PLMObjectController` which manages  
     44    A :class:`.PLMObjectController` which manages  
    4545    :class:`.Document` 
    4646     
     
    5252        """ 
    5353        Returns True if :const:`settings.ENABLE_NATIVE_FILE_MANAGEMENT` is True 
    54         and exits the document contains a standard locked file related to the 
    55         file that we want to add. 
     54        and exists a document that contains a standard locked file related to the 
     55        file we want to add. 
    5656 
    5757        We use it to avoid to add a native file while a related standard locked 
     
    184184         
    185185        :exceptions raised: 
    186             * :exc:`ValueError` if *doc_file*.document is not self.objec 
     186            * :exc:`ValueError` if *doc_file*.document is not self.object 
    187187            * :exc:`ValueError` if the file size is superior to 
    188188              :attr:`settings.MAX_FILE_SIZE` 
     
    243243        """ 
    244244        Method called when adding a file (method :meth:`add_file`) with 
    245         *updates_attributes* true. 
     245        *updates_attributes* set to True. 
    246246 
    247247        This method may be overridden to updates attributes with data from 
     
    268268    def detach_part(self, part): 
    269269        """ 
    270         Delete link between *part* (a :class:`.Part`) and 
     270        Deletes link between *part* (a :class:`.Part`) and 
    271271        :attr:`~PLMObjectController.object`. 
    272272        """ 
     
    282282    def get_attached_parts(self): 
    283283        """ 
    284         Returns all :class:`.Part` attached to 
     284        Returns all parts attached to 
    285285        :attr:`~PLMObjectController.object`. 
    286286        """ 
     
    506506         
    507507    def clone(self,form, user, parts, block_mails=False, no_index=False): 
     508        """ 
     509        Clones the object : 
     510         
     511            * calls :meth:`.PLMObjectController.clone` 
     512            * duplicates all :class:`.DocumentFile` in self.object 
     513             
     514        :param parts: list of :class:`.Part` selected to be attached to the new document 
     515        """     
    508516        new_ctrl = super(DocumentController, self).clone(form, user, block_mails, no_index) 
    509517         
  • trunk/openPLM/plmapp/controllers/plmobject.py

    r1509 r1511  
    825825         
    826826        Clone this object and return the related controller. 
     827         
     828        :param form: the form sent from clone view 
     829        :param user: the user who is cloning the object 
    827830        """ 
    828831        self.check_clone() 
Note: See TracChangeset for help on using the changeset viewer.