Location: PHPKode > scripts > clsManUrl > clsmanurlv1/test.php
$manUrlv1 = new manUrlv1();
$param = $manUrlv1->getValuePar("nameparam");
//test 1
if ($param != "") echo "not param";
else
echo $param;


//test 2
$manUrlv1->removeAllPar();
$manUrlv1->addParComplete("one","onevalue");
$manUrlv1->addParComplete("two","twovalue");

echo $manUrlv1->buildPars(); //output ->  ?one=onevalue&two=twovalue
echo $manUrlv1->buildPars(false); //output ->  one=onevalue&two=twovalue






Return current item: clsManUrl