Ignore:
Timestamp:
07/19/12 10:05:03 (8 years ago)
Author:
zali
Message:

doc:typo , comments clone function

File:
1 edited

Legend:

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

    r1480 r1513  
    5252    def check_add_child(self, child): 
    5353        """ 
    54         Checks if *child"* can be added to *self*. 
     54        Checks if *child* can be added to *self*. 
    5555        If *child* can not be added, an exception is raised. 
    5656         
     
    238238        :raises: :exc:`ValueError` if the link is invalid (already completed 
    239239                 or its parent is not the current object) 
    240         :raises: all permissions raised by :meth:`check_add_child` 
     240        :raises: all permission errors raised by :meth:`check_add_child` 
    241241        """ 
    242242        if link.end_time != None or link.parent_id != self.id: 
     
    784784 
    785785    def clone(self,form, user, child_links, documents, block_mails=False, no_index=False): 
     786        """ 
     787        Clones the object : 
     788 
     789        calls PLMObjectController.clone() 
     790 
     791        :param child_links: list of :class:`.ParentChildLink` selected to be cloned with the new part as parent 
     792        :param documents: list of :class:`.Document` selected to be attached to the new part 
     793        """ 
    786794        new_ctrl = super(PartController, self).clone(form, user, block_mails, no_index) 
    787795        if child_links : 
     
    797805        """ 
    798806        Return true if the part : 
     807         
    799808            * is a parent or a child 
    800809            * is attached to at least one document 
Note: See TracChangeset for help on using the changeset viewer.