Fork me on GitHub

pnForm debugging  Bottom

  • does pnForm have some kind of limitation of standard php/pnRender functions? within the class structure I can't seem to echo or accomplish other standard stuff... eg

    Code

    function handleCommand(&$render, $args)
    {
      echo "hello!";
      if ($args['commandName'] == 'submit')
            {
                return true;
            }
            else if ($args['commandName'] == 'cancel')
            {
                return false;
            }
            return true;
    }

    the echo there doesn't work...
    ideas?
  • If nothing else works you can always use die("var: $var"); or die(print_r($var)) if it's an array.

    --
    Zikula Italia
    SimpleGallery

This list is based on users active over the last 60 minutes.