Location: PHPKode > projects > Modular Railroad Asset/Meeting Mgmt > fredl-2-1-9-Release/module/moduleopt.php
<?php
    /****************************************************************
     * FREMO Asset Management
     * Module: moduleopt.php
     * Description: Module option handling (depending on module type)
     *
     * Created: 12/2003
     * $Log: moduleopt.php,v $
     * Revision 1.1  2004/06/23 19:14:10  dirkj
     * Handle module options like "moduletype".
     *
     *
     ****************************************************************/

    // Constants to define position of option in optionstring
    $cargoRequirements = 0;
    function checkModuleTypeOption($mtypeopt, $optionPos)
    {
	    if (strlen($mtypeopt) < $optionPos)
	    {
		    echo "ERROR: checkModuleTypeOption($mtypeopt, $optionPos) -- option string too short";
		    exit;
	    }
	    $opt=substr($mtypeopt, $optionPos, 1);
	    if ($opt == "-")
		    return false;
	    else return true;
    }


?>
Return current item: Modular Railroad Asset/Meeting Mgmt