Results 1 to 2 of 2

Thread: ListView & Detail View

  1. #1
    raviba is offline Sugar Community Member
    Join Date
    Aug 2006
    Posts
    24

    Default ListView & Detail View

    Hi,

    could anyone explain to me what the various methods do in ListView.php and DetailView.php?

    especially these methods ..

    processSugarBean(), processListView(), processListViewtwo() & processListViewMulti() ?

    step by step will be helpful..

  2. #2
    simple is offline Sugar Community Member
    Join Date
    Jul 2005
    Posts
    259

    Default Re: ListView & Detail View

    Hi

    have you seen the method descriptions and code comments in include/ListView/ListView.php ?

    PHP Code:
    /**
     * @return void
     * @param unknown $seed
     * @param unknown $xTemplateSection
     * @param unknown $html_varName
     * @desc INTERNAL FUNCTION Handles List Views using seeds that extend SugarBean
            $XTemplateSection is the section in the XTemplate file that should be parsed usually main
            $html_VarName is the variable name used in the XTemplateFile e.g. TASK
            $seed is a seed that extends SugarBean
             * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc..
             * All Rights Reserved..
             * Contributor(s): ______________________________________..
     */
     
    function processSugarBean($xtemplateSection$html_varName$seed){
      ...


    Maybe this helps you to understand what these methods do.

    Pascal

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •