Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default class hierarchy ?

    Just got the book and it's great.

    But is there a page on this site that shows the relationship between scripts?

    ie. this tpl_x calls this module

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: class hierarchy ?

    There are over a 1,000 scripts many calling (or including) many others to create (I estimate) 10,000 connections. I'm afraid that would be simply too complicated to construct let alone maintain. What is it that you're trying to do?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: class hierarchy ?

    Point taken...

    I'm just trying to get oriented.
    I've found some things, and that should make further exploring easier.

  4. #4
    Join Date
    Jun 2007
    Posts
    44
    Plugin Contributions
    0

    Default Re: class hierarchy ?

    I should have used the word 'class'.

    the Zen-Cart Program Flow Doc helps a lot:

    http://www.zen-cart.com/index.php?ma...roducts_id=378

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: class hierarchy ?

    The Program Flow Link is helpful (I didn't know about that!).

    However, I'm now a bit confused about . There are two types of class in Zen Cart: PHP classes and CSS classes. I'm not sure to which you are referring.

    The former is a collection of methods (functions) that relate to a particular object in Zen Cart (such as the database class that contains methods for manipulating the database object). They don't really link to anything other than their object. On the rare occasions that I need to find out where their methods are used, I just use the search facility in Dreamweaver to find them. The Zen Cart Developers Toolkit could do this too.

    The latter is an attribute used to group a collection of similar XHTML elements so that common styling can be applied to them. These link only to the elements that they style and usually I'm more interested in finding which classes (or IDs apply to an element) than which elements have a particular class. So for that the Firebug extension to Firefox is my tool of choice, as it allows me to point to an element and see all the CSS that is active and even tweak it to see the effects.

    I hope that is going some way to helping.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Overrides hierarchy
    By beasleybub in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Feb 2011, 01:02 PM
  2. Changing Root Hierarchy?
    By rdcast in forum General Questions
    Replies: 2
    Last Post: 5 Mar 2010, 07:53 PM
  3. Featured Products Hierarchy Question
    By ricksterinps in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Oct 2009, 12:17 AM
  4. Entire ZenCart Page Hierarchy...???
    By blackhalo in forum General Questions
    Replies: 6
    Last Post: 31 May 2008, 09:19 AM
  5. Category Hierarchy List?
    By enigmabomb in forum General Questions
    Replies: 2
    Last Post: 29 Feb 2008, 09:51 PM

Posting Permissions

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