Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Location
    Colorado Springs, Colorado
    Posts
    25
    Plugin Contributions
    0

    Default $messageStack->add('gv_send'...

    I am still new to PHP.

    How does the statement below work?

    Is it an array, string?

    $messageStack->add('gv_send', ERROR_ENTRY_TO_NAME_CHECK, 'error');

    Thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: $messageStack->add('gv_send'...

    Let's back WAY up ... Why are you asking that question? What's the problem you're trying to solve?

    (That statement is neither an array nor a string. It's an object of an instantiated class, calling a member method within the class to set some values based on parameters supplied.)
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2009
    Location
    Colorado Springs, Colorado
    Posts
    25
    Plugin Contributions
    0

    Default Re: $messageStack->add('gv_send'...

    Quote Originally Posted by DrByte View Post
    Let's back WAY up ... Why are you asking that question? What's the problem you're trying to solve?

    (That statement is neither an array nor a string. It's an object of an instantiated class, calling a member method within the class to set some values based on parameters supplied.)
    I am trying to test a string inside $messagestack with with this predefined string - ERROR_ENTRY_TO_NAME_CHECK using the stristr() function inside the if{ } statement for pass/no pass.

    Does this make any sense?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: $messageStack->add('gv_send'...

    LOL ... I'm gonna ask "why" again
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2009
    Location
    Colorado Springs, Colorado
    Posts
    25
    Plugin Contributions
    0

    Default Re: $messageStack->add('gv_send'...

    Quote Originally Posted by DrByte View Post
    LOL ... I'm gonna ask "why" again
    Never mind, I figured it out.

    Thanks.

 

 

Similar Threads

  1. How do I add a coupon alert via messageStack for COWAO?
    By Dan123 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 9 Jul 2011, 01:05 AM
  2. ERROR: gv_send Cannot redeclare class httpclient
    By dmfelder in forum General Questions
    Replies: 6
    Last Post: 29 Mar 2008, 06:23 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR