Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2712)  |  Call(2712)  |  Derive(0)  |  Import(0)
Declare names to be publicly accessible.

src/p/r/Products.IssueDealer-0.9.131/Products/IssueDealerWeblog/local_weblog_publisher.py   Products.IssueDealer(Download)
    security.declareProtected(permissions.publish_issues, 'edit', 'publish',
	'deal', 'edit_style', 'edit_blogroll', 'subscribers', 'render_subscribers')
    security.declarePublic('get_title')
    edit = PageTemplateFile('edit.pt', globals())
    deal = PageTemplateFile('index.pt', globals())
    remote = DTMLFile('remote', globals())
    security.declarePublic('blog', 'blog_entry', 'blog_entry_comments', 'style',
	self.published = []
 
    security.declarePublic('get_enclosures')
    def get_enclosures(self, issue):
        """Returns all the enclosures within the issue."""
	return issues
 
    security.declarePublic('get_category_issues')
    def get_category_issues(self, parent_level=-1):
        """Returns all category issues."""
        return categories
 
    security.declarePublic('add_subscriber')
    def add_subscriber(self, subscriber, REQUEST=None):
        """Adds a subscriber."""

src/b/i/bika.lims-3.01a/bika/lims/content/referencesample.py   bika.lims(Download)
        renameAfterCreation(self)
 
    security.declarePublic('current_date')
    def current_date(self):
        return DateTime()
        return DisplayList(list(items))
 
    security.declarePublic('getSpecCategories')
    def getSpecCategories(self):
        tool = getToolByName(self, REFERENCE_CATALOG)
        return categories
 
    security.declarePublic('getResultsRangeDict')
    def getResultsRangeDict(self):
        specs = {}
        return specs
 
    security.declarePublic('getResultsRangeSorted')
    def getResultsRangeSorted(self):
        tool = getToolByName(self, REFERENCE_CATALOG)
        return sorted_specs
 
    security.declarePublic('getReferenceAnalyses')
    def getReferenceAnalyses(self):
        """ return all analyses linked to this reference sample """

src/b/i/Bika-LIMS-HEAD/bika/lims/content/referencesample.py   Bika-LIMS(Download)
        renameAfterCreation(self)
 
    security.declarePublic('current_date')
    def current_date(self):
        return DateTime()
        return DisplayList(list(items))
 
    security.declarePublic('getSpecCategories')
    def getSpecCategories(self):
        tool = getToolByName(self, REFERENCE_CATALOG)
        return categories
 
    security.declarePublic('getResultsRangeDict')
    def getResultsRangeDict(self):
        specs = {}
        return specs
 
    security.declarePublic('getResultsRangeSorted')
    def getResultsRangeSorted(self):
        tool = getToolByName(self, REFERENCE_CATALOG)
        return sorted_specs
 
    security.declarePublic('getReferenceAnalyses')
    def getReferenceAnalyses(self):
        """ return all analyses linked to this reference sample """

src/b/i/bika.lims-3.01a/bika/lims/content/samplepartition.py   bika.lims(Download)
        return safe_unicode(self.getId()).encode('utf-8')
 
    security.declarePublic('getAnalyses')
    def getAnalyses(self):
        """ return list of titles of analyses linked to this sample Partition """
        analyses = self.getBackReferences("AnalysisSamplePartition")
        analyses.sort()
        return analyses
 
    security.declarePublic('current_date')
        return DateTime()
 
    security.declarePublic('disposal_date')
    def disposal_date(self):
        """ return disposal date """

src/b/i/Bika-LIMS-HEAD/bika/lims/content/samplepartition.py   Bika-LIMS(Download)
        return safe_unicode(self.getId()).encode('utf-8')
 
    security.declarePublic('getAnalyses')
 
    def getAnalyses(self):
        """ return list of titles of analyses linked to this sample Partition """
        analyses = sorted(self.getBackReferences("AnalysisSamplePartition"))
        return analyses
 
    security.declarePublic('current_date')
        return DateTime()
 
    security.declarePublic('disposal_date')
 
    def disposal_date(self):

src/b/i/bika.lims-3.01a/bika/lims/content/sample.py   bika.lims(Download)
        self.Schema()['Composite'].set(self, value)
 
    security.declarePublic('getAnalysisRequests')
 
    def getAnalysisRequests(self):
        return ars
 
    security.declarePublic('getAnalyses')
 
    def getAnalyses(self, contentFilter):

src/b/i/Bika-LIMS-HEAD/bika/lims/content/sample.py   Bika-LIMS(Download)
        self.Schema()['Composite'].set(self, value)
 
    security.declarePublic('getAnalysisRequests')
 
    def getAnalysisRequests(self):
        return ars
 
    security.declarePublic('getAnalyses')
 
    def getAnalyses(self, contentFilter):

src/p/r/Products.ATExtensions-1.1/Products/ATExtensions/field/record_examples.py   Products.ATExtensions(Download)
    security = ClassSecurityInfo()
 
    security.declarePublic("CountryNames")
    def CountryNames(self, instance=None):
        if not instance:
    security = ClassSecurityInfo()
 
    security.declarePublic("CountryNames")
    def CountryNames(self, instance=None):
        if not instance:

src/p/r/Products.ATExtensions-1.1/Products/ATExtensions/field/records_examples.py   Products.ATExtensions(Download)
    security = ClassSecurityInfo()
 
    security.declarePublic("PhoneNumberTypes")
    def PhoneNumberTypes(self, instance=None):
        """phone number types"""

src/p/r/Products.IssueDealer-0.9.131/Products/IssueDealer/base.py   Products.IssueDealer(Download)
    security.declareProtected(id_permissions.publish_issues, 'publish',
	'publishers', 'publish_multiple_submit')
    security.declarePublic('issue_dealer_template', 'optional_issue_attributes', 'standard_error_message')
 
    instance_home = getConfiguration().instancehome
    standard_error_message = PageTemplateFile('skins/issue_dealer/standard_error_message.pt', issue_dealer_globals)
 
    security.declarePublic('get_response')
    def get_response(self):
        ""
        self.handle_session()
 
    security.declarePublic('create_hyperlink')
    def create_hyperlink(self, *arguments, **keywords):
        """Creates a hyperlink."""
 
    # Untested
    security.declarePublic('html_quote')
    def html_quote(self, string_):
        """HTML Quotes the given string."""
 
    # Untested
    security.declarePublic('get_user')
    def get_user(self):
        """Returns a user instance."""

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next