code/Green.php
public function getDesignModule($name)
    {
        foreach ($this->getDesignModules() as $module) {
            if ($module->getName() == $name) {
                return $module;
            }
        }

        return false;
    }
public function getDesignModule($name)
    {
        foreach ($this->getDesignModules() as $module) {
            if ($module->getName() == $name) {
                return $module;
            }
        }

        return false;
    }
public function getDesignModule ( $ name ) { foreach ( $ this -> getDesignModules ( ) as $ module ) { if ( $ module -> getName ( ) == $ name ) { return $ module ; } } return false ; }
Gets a specific design module as an object by its name
@param string $name
@return bool|mixed
Gets a specific design module as an object by its name