public function getNetwork($name)
	{
		// TODO: Use filtering
		$networks = $this->getNetworks();

		foreach ($networks as $network)
			if ($network->networkname === $name)
				return $network;

		return null;
	}
public function getNetwork($name)
	{
		// TODO: Use filtering
		$networks = $this->getNetworks();

		foreach ($networks as $network)
			if ($network->networkname === $name)
				return $network;

		return null;
	}
public function getNetwork ( $ name ) { // TODO: Use filtering $ networks = $ this -> getNetworks ( ) ; foreach ( $ networks as $ network ) if ( $ network -> networkname === $ name ) return $ network ; return null ; }
Returns the network with the specified name, or null if not found
@param string $name the network name
@return model\network\Network
Returns the network with the specified name or null if not found