Thread: Wrappers

Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Wrappers

    Is there anywhere I can get a list of wrapper functions for zencart without having to dig through all the files? Many times, I do not even realize there is one available so I don't even know to look.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,705
    Plugin Contributions
    12

    Default Re: Wrappers

    Perhaps you'll find what you are looking for here http://www.zen-cart.com/wiki/index.p..._API_Tutorials
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Wrappers

    Quote Originally Posted by dbltoe View Post
    Perhaps you'll find what you are looking for here http://www.zen-cart.com/wiki/index.p..._API_Tutorials
    Been all over it...in general unless I have seen a wrapper used...then I do not know its there. There are so many things I have changed that should use the wrappers and do not at this point.

  4. #4
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Wrappers

    While not the friendliest (would love to see this landing page contain all the functions found in the files), have you taken a look at: Zen Cart 1.5.0 functions? You can click on one of the files in the "functions" package and quickly see a list of available functions it supplies.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  5. #5
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Wrappers

    Quote Originally Posted by lhungil View Post
    While not the friendliest (would love to see this landing page contain all the functions found in the files), have you taken a look at: Zen Cart 1.5.0 functions? You can click on one of the files in the "functions" package and quickly see a list of available functions it supplies.
    yes...but those files are found everywhere. Remember the question is not about "looking for one" its more about "not knowing one exists" so how would I know to look! lol

  6. #6
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Wrappers

    Quote Originally Posted by g2ktcf View Post
    yes...but those files are found everywhere. Remember the question is not about "looking for one" its more about "not knowing one exists" so how would I know to look! lol
    I sent a link to the online Zen Cart 1.5.0 API (PHP docs) - not files. Yes I know they are organized by file (most generated API documentation will be organized by file or class). Yes I know they are not what exactly what you are looking for... But they should be a good starting point (as should the URL sent by dbltoe)!

    API documentation is one of the fastest way for a developer to learn about what classes, functions, etc are available when developing 3rd party code to interact with an application (without digging through all the code in all the files).

    And the answer to "not knowing one exists" is to learn about what is available!


    P.S. I'd like to see the API updated someday (as I alluded to in the last post). But I also understand there are other higher priority tasks... Such as refactoring the Zen Cart codebase... Bug Fixes... Security Patches... New features... and of course working on new releases!

    P.P.S. As the core team work on this project without charge... Maybe you would like to help by forking Zen Cart on github and donate your time to improve the documentation? Or donate some time to write a few articles on Zen Cart functions (organized how you would like)? I'm sure it would be appreciated :)

    NOTE: I am not part of the core Zen Cart team. I just donate some of my time to: 1) Try helping people here on the forums and 2) Write some hopefully helpful modifications (plugins) for Zen Cart.
    Last edited by lhungil; 25 Jun 2013 at 07:31 PM.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  7. #7
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    629
    Plugin Contributions
    0

    Default Re: Wrappers

    Actually the list may have to come one way or another as I am frankly getting lost...the API is organized by FILES not by functions...heck, if I know what I am looking for...then I use the Developer's Tool (FANTASTIC ITEM BTW) to locate the functions.

 

 

Similar Threads

  1. Putting elements on top of side wrappers?
    By -M- in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 3 Dec 2010, 07:03 PM
  2. Sidebox wrappers
    By kbarcai in forum Basic Configuration
    Replies: 7
    Last Post: 30 Mar 2008, 01:44 AM
  3. Beginners Guide to Wrappers - is there one?
    By deshojo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Jan 2007, 09:38 AM
  4. Adding wrappers to the center column
    By mejobloggs in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 19 Sep 2006, 10:24 PM
  5. Adding wrappers to the center column
    By mejobloggs in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 11 Sep 2006, 08:38 AM

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