<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://es.wikieducator.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
		<id>https://es.wikieducator.org/index.php?action=history&amp;feed=atom&amp;title=Usuario%3AManuelRomero%2FProgramacionWeb%2Fphp%2FPOO%2FHerencia%2FEjemploAmbulatorio</id>
		<title>Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio - Historial de revisiones</title>
		<link rel="self" type="application/atom+xml" href="https://es.wikieducator.org/index.php?action=history&amp;feed=atom&amp;title=Usuario%3AManuelRomero%2FProgramacionWeb%2Fphp%2FPOO%2FHerencia%2FEjemploAmbulatorio"/>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;action=history"/>
		<updated>2026-06-19T18:49:45Z</updated>
		<subtitle>Historial de revisiones para esta página en el wiki</subtitle>
		<generator>MediaWiki 1.23.14</generator>

	<entry>
		<id>https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=23154&amp;oldid=prev</id>
		<title>ManuelRomero: /* Gestión de personal de un ambulatorio */</title>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=23154&amp;oldid=prev"/>
				<updated>2018-04-16T16:25:40Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Gestión de personal de un ambulatorio&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión de 16:25 16 abr 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 260:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 260:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Clase PersonalAmbulatorio&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;;Clase PersonalAmbulatorio&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Esta es la clase que contiene los atributos y métodos comunes para el resto e las clases&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Esta es la clase que contiene los atributos y métodos comunes para el resto e las clases&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=php&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;?php&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;?php&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/**&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/**&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ManuelRomero</name></author>	</entry>

	<entry>
		<id>https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=23153&amp;oldid=prev</id>
		<title>ManuelRomero en 16:24 16 abr 2018</title>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=23153&amp;oldid=prev"/>
				<updated>2018-04-16T16:24:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;amp;diff=23153&amp;amp;oldid=23152&quot;&gt;Mostrar los cambios&lt;/a&gt;</summary>
		<author><name>ManuelRomero</name></author>	</entry>

	<entry>
		<id>https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=23152&amp;oldid=prev</id>
		<title>ManuelRomero en 16:15 16 abr 2018</title>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=23152&amp;oldid=prev"/>
				<updated>2018-04-16T16:15:11Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión de 16:15 16 abr 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;hr /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;hr /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;!--&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 255:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 255:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/font&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;hr /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;hr /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;--&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ManuelRomero</name></author>	</entry>

	<entry>
		<id>https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21084&amp;oldid=prev</id>
		<title>ManuelRomero en 23:50 5 dic 2016</title>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21084&amp;oldid=prev"/>
				<updated>2016-12-05T23:50:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión de 23:50 5 dic 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Usuario:ManuelRomero/ProgramacionWeb/php/POO/introduccion#Herencia |&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;volver&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;font size&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;5 color&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;red&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Usuario:ManuelRomero/ProgramacionWeb/php/POO/introduccion#Herencia |&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Volver temario&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;/font&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;hr /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 247:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 251:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La salida que muestra este código son los '''''echo ''''', que podríamos ver en la siguiente imagen&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*La salida que muestra este código son los '''''echo ''''', que podríamos ver en la siguiente imagen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Imagen:EjemploAmbulatorioIndex.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Imagen:EjemploAmbulatorioIndex.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;font size&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;5 color&amp;lt;nowiki&amp;gt;=&amp;lt;/nowiki&amp;gt;red&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Usuario:ManuelRomero/ProgramacionWeb/php/POO/introduccion#Herencia |Volver temario]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/font&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;hr /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ManuelRomero</name></author>	</entry>

	<entry>
		<id>https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21082&amp;oldid=prev</id>
		<title>ManuelRomero en 23:41 5 dic 2016</title>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21082&amp;oldid=prev"/>
				<updated>2016-12-05T23:41:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión de 23:41 5 dic 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[Usuario:ManuelRomero/ProgramacionWeb/php/POO/introduccion#Herencia |volver]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[&lt;/ins&gt;[Usuario:ManuelRomero/ProgramacionWeb/php/POO/introduccion#Herencia |volver&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ManuelRomero</name></author>	</entry>

	<entry>
		<id>https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21081&amp;oldid=prev</id>
		<title>ManuelRomero en 23:41 5 dic 2016</title>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21081&amp;oldid=prev"/>
				<updated>2016-12-05T23:41:01Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revisión de 23:41 5 dic 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[Usuario:ManuelRomero/ProgramacionWeb/php/POO/introduccion#Herencia |volver]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>ManuelRomero</name></author>	</entry>

	<entry>
		<id>https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21078&amp;oldid=prev</id>
		<title>ManuelRomero: Página creada con «===Gestión de personal de un ambulatorio=== Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases ;Clase PersonalAmbulatorio *Esta es la clas...»</title>
		<link rel="alternate" type="text/html" href="https://es.wikieducator.org/index.php?title=Usuario:ManuelRomero/ProgramacionWeb/php/POO/Herencia/EjemploAmbulatorio&amp;diff=21078&amp;oldid=prev"/>
				<updated>2016-12-05T23:31:19Z</updated>
		
		<summary type="html">&lt;p&gt;Página creada con «===Gestión de personal de un ambulatorio=== Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases ;Clase PersonalAmbulatorio *Esta es la clas...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Gestión de personal de un ambulatorio===&lt;br /&gt;
Siguiendo el ejemplo planteado en el apartado de herencia, implementamos las clases&lt;br /&gt;
;Clase PersonalAmbulatorio&lt;br /&gt;
*Esta es la clase que contiene los atributos y métodos comunes para el resto e las clases&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
/**&lt;br /&gt;
 * Description of personalAmbulatorio&lt;br /&gt;
 * @author manuel&lt;br /&gt;
 */&lt;br /&gt;
class PersonalAmbulatorio {&lt;br /&gt;
    //put your code here&lt;br /&gt;
    protected $nombre;&lt;br /&gt;
    protected $apellido;&lt;br /&gt;
    protected $direccion;&lt;br /&gt;
    protected $edad;&lt;br /&gt;
    &lt;br /&gt;
    public function __construct($n,$a, $d,$e){&lt;br /&gt;
        $this-&amp;gt;nombre = $n;&lt;br /&gt;
        $this-&amp;gt;apellido=$a;&lt;br /&gt;
        $this-&amp;gt;direccion=$d;&lt;br /&gt;
        $this-&amp;gt;edad=$e;&lt;br /&gt;
    }&lt;br /&gt;
    public function hacerTurno($turno){&lt;br /&gt;
        return &amp;quot;turno de esta semana es $turno&amp;lt;br /&amp;gt;&amp;quot;;&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
    public function hacerIncidencia($msg){&lt;br /&gt;
        $incidencia =&amp;quot;Persona que crea incidencia $this-&amp;gt;apellido, $this-&amp;gt;nombre  &amp;lt;br /&amp;gt;&amp;quot;;&lt;br /&gt;
        $incidencia .=&amp;quot;incidencia creada con fecha &amp;quot;.date(&amp;quot;d-m-y&amp;quot;, time()).&amp;quot;&amp;lt;hr /&amp;gt;&amp;quot;;&lt;br /&gt;
        $incidencia .=&amp;quot;&amp;lt;strong&amp;gt;$msg&amp;lt;/strong&amp;gt;&amp;quot;;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
;Clase Medica&lt;br /&gt;
*La clase para crear un médico. En el constructor alternativamente a lo planteado se puede dar valores a los atributos nombre, apellido y edad, pues también son atrbutos de esta clase&lt;br /&gt;
*Es decir, el constructor podría ser&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
    public function __construct($n, $a, $d, $e, $esp) {&lt;br /&gt;
        $this-&amp;gt;nombre = $n;&lt;br /&gt;
        $this-&amp;gt;apellido=$a;&lt;br /&gt;
        $this-&amp;gt;direccion=$d;&lt;br /&gt;
        $this-&amp;gt;edad=$e;&lt;br /&gt;
        $this-&amp;gt;especialidad = $esp;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*En lugar de ello, se llama al constructor de la clase de la que heredo&lt;br /&gt;
{{Tip|Observar que para acceder a una clase de la que heredo uso la palabra reservada '''''parent''''' que corresponde a un operador}}&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * Description of Medica&lt;br /&gt;
 * @author manuel&lt;br /&gt;
 */&lt;br /&gt;
class Medica extends PersonalAmbulatorio {&lt;br /&gt;
&lt;br /&gt;
    //put your code here&lt;br /&gt;
&lt;br /&gt;
    private $especialidad;&lt;br /&gt;
    private $visitas = [];&lt;br /&gt;
    private $consultas = [];&lt;br /&gt;
&lt;br /&gt;
    public function __construct($n, $a, $d, $e, $esp) {&lt;br /&gt;
        parent::__construct($n, $a, $d,$e);&lt;br /&gt;
        $this-&amp;gt;especialidad = $esp;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
/*    public function pasarConsulta($enfermera, $mensaje) {&lt;br /&gt;
&lt;br /&gt;
        $msj = &amp;quot;&amp;lt;div style=margin-left:5em&amp;gt; Fecha : &amp;quot; . date(&amp;quot;d-m-y&amp;quot;, time()) . &amp;quot;&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;div style=margin-left:5em&amp;gt;Enfermera $enfermera&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;div style=margin-left:5em&amp;gt;Tipo de consulta   &amp;quot; . $mensaje .&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
        $this-&amp;gt;consultas[] =$msj;&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
 * &lt;br /&gt;
 */&lt;br /&gt;
    public function pasarConsulta($enfermera, $mensaje) {&lt;br /&gt;
&lt;br /&gt;
        $msj = &amp;quot;Fecha : &amp;quot; . date(&amp;quot;d-m-y H:i:s&amp;quot;, time()) ;&lt;br /&gt;
        $msj.=&amp;quot;.  Enfermero/a :   $enfermera&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;.  Tipo de consulta   &amp;lt;strong&amp;gt;&amp;quot; . $mensaje.&amp;quot;&amp;lt;/strong&amp;gt;&amp;quot; ;&lt;br /&gt;
        $this-&amp;gt;consultas[] =$msj;&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public function realizarVisita($ordenante, $aviso) {&lt;br /&gt;
        &lt;br /&gt;
        $msj = &amp;quot;Fecha : &amp;quot; . date(&amp;quot;d-m-y H:i:s&amp;quot;, time()) . &amp;quot;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;. Envía  &amp;lt;strong&amp;gt; $ordenante&amp;lt;/strong&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;. Aviso: &amp;lt;strong&amp;gt;$aviso&amp;lt;/strong&amp;gt;&amp;quot;;&lt;br /&gt;
        $this-&amp;gt;visitas[] = $msj;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    public function __toString() {&lt;br /&gt;
        $msj = &amp;quot;&amp;lt;div class='medico'&amp;gt; Medico : &amp;lt;strong&amp;gt;$this-&amp;gt;apellido, $this-&amp;gt;nombre&amp;lt;/strong&amp;gt; de $this-&amp;gt;edad años de edad&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;.  Especialidad &amp;lt;strong&amp;gt;$this-&amp;gt;especialidad&amp;lt;/strong&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;div class='tituloAcciones'&amp;gt;Consultas realizadas  &amp;quot; . count($this-&amp;gt;consultas) . &amp;quot; consultas :&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;div class='contenidoAcciones'&amp;gt;&amp;quot;;&lt;br /&gt;
        foreach ($this-&amp;gt;consultas as $num =&amp;gt; $consulta) {&lt;br /&gt;
            $msj.=&amp;quot;Consulta $num: &amp;quot;;&lt;br /&gt;
            $msj.=  &amp;quot;$consulta&amp;lt;br /&amp;gt;&amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;div class='tituloAcciones'&amp;gt;Visitas realizadas : &amp;quot; . count($this-&amp;gt;visitas) . &amp;quot; visitas.&amp;lt;/div&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;div class='contenidoAcciones'&amp;gt;&amp;quot;;&lt;br /&gt;
        foreach ($this-&amp;gt;visitas as $num =&amp;gt; $visita) {&lt;br /&gt;
            $msj.=&amp;quot; Visita $num: &amp;quot;;&lt;br /&gt;
            $msj.= &amp;quot; $visita &amp;lt;br /&amp;gt;&amp;quot;;&lt;br /&gt;
        }&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;/div&amp;gt;&amp;quot; ;&lt;br /&gt;
        $msj.=&amp;quot;&amp;lt;/div&amp;gt;&amp;quot; ;&lt;br /&gt;
        return $msj;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
;Clase Enfermera&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
class Enfermera extends PersonalAmbulatorio {&lt;br /&gt;
    //put your code here&lt;br /&gt;
   private $anyoTitulacion;&lt;br /&gt;
   private $curas=[];&lt;br /&gt;
    &lt;br /&gt;
   public function  __construct($n, $a, $d, $e, $aT){&lt;br /&gt;
        parent::__construct($n,$a,$d,$e);&lt;br /&gt;
        $this-&amp;gt;anyoTitulacion=$aT;&lt;br /&gt;
    }&lt;br /&gt;
    public function avisoMedico(Medica $medico, $mensaje){&lt;br /&gt;
        $medico-&amp;gt;pasarConsulta($this-&amp;gt;apellido, $mensaje, 1);&lt;br /&gt;
    }&lt;br /&gt;
     &lt;br /&gt;
    public function hacerCura($ordenante, $tipoCura){&lt;br /&gt;
        $msj=&amp;quot;Fecha : &amp;quot;.date(&amp;quot;d-m-y&amp;quot;, time()).&amp;quot;&amp;lt;br/&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;Ordenante $ordenante&amp;lt;br /&amp;gt;&amp;quot;;&lt;br /&gt;
        $msj.=&amp;quot;Tipo de cura $cura &amp;lt;hr /&amp;gt;&amp;quot;;&lt;br /&gt;
        $this-&amp;gt;curas[]=$msj;&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
;Clase Conserje&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
class Conserje extends PersonalAmbulatorio {&lt;br /&gt;
    //put your code here&lt;br /&gt;
    private $ubicacion;&lt;br /&gt;
    &lt;br /&gt;
    public function  __construct($n, $a, $d, $e, $u){&lt;br /&gt;
        parent::__construct($n,$a,$d);&lt;br /&gt;
        $this-&amp;gt;ubicacion=$u;&lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    public function avisoMedico(Medica $medico, $mensaje,$tipoAviso){&lt;br /&gt;
        if ($tipoAviso==&amp;quot;Consulta&amp;quot;)&lt;br /&gt;
            $medico-&amp;gt;pasarConsulta($this-&amp;gt;apellido, $mensaje, 2);&lt;br /&gt;
        if ($tipoAviso ==&amp;quot;Visita&amp;quot;)&lt;br /&gt;
            $medico-&amp;gt;realizarVisita($this-&amp;gt;apellido, $mensaje);&lt;br /&gt;
    }&lt;br /&gt;
    public function avisoEnfermera(Enfermera $enfermera, $mensaje){&lt;br /&gt;
        $enfermera-&amp;gt;hacerCura($this-&amp;gt;apellido, $mensaje);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*Un posible uso podría ser el siguiente index.php; simplemente crea unos objetos y luego visualizamos los valores de tres médicos que creamos.&lt;br /&gt;
*Añadimos un pequeño css para dar a la salida un poco de visualización&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
&amp;lt;html&amp;gt;&lt;br /&gt;
    &amp;lt;head&amp;gt;&lt;br /&gt;
        &amp;lt;meta charset=&amp;quot;UTF-8&amp;quot;&amp;gt;&lt;br /&gt;
        &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
        &amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
            .medico{&lt;br /&gt;
                font-family: sans-serif;&lt;br /&gt;
                font-size: 22px;&lt;br /&gt;
                font-weight: 400;&lt;br /&gt;
                color:  #000033;&lt;br /&gt;
                background: 	#e6e6e6;&lt;br /&gt;
                width: 80%;&lt;br /&gt;
                margin: 0 0 0px;&lt;br /&gt;
                overflow: hidden;&lt;br /&gt;
                padding: 0px;&lt;br /&gt;
            }            &lt;br /&gt;
            .tituloAcciones{&lt;br /&gt;
                font-family: Times;&lt;br /&gt;
                font-size: 20px;&lt;br /&gt;
                font-weight: 400;&lt;br /&gt;
                color: #0000b3;&lt;br /&gt;
                margin: 0 0 0 20px;&lt;br /&gt;
                overflow: hidden;&lt;br /&gt;
                padding: 0px;&lt;br /&gt;
            }&lt;br /&gt;
            .contenidoAcciones{&lt;br /&gt;
                font-family: Times;&lt;br /&gt;
                font-size: 18px;&lt;br /&gt;
                font-weight: 400;&lt;br /&gt;
                border :1px solid black;&lt;br /&gt;
                width: 90%;&lt;br /&gt;
                color:  #0000e6;&lt;br /&gt;
                margin: 10px 10px 10px 30px;&lt;br /&gt;
                overflow: hidden;&lt;br /&gt;
                padding: 0px;&lt;br /&gt;
                &lt;br /&gt;
            }&lt;br /&gt;
        &amp;lt;/style&amp;gt;&lt;br /&gt;
    &amp;lt;/head&amp;gt;&lt;br /&gt;
    &amp;lt;body&amp;gt;&lt;br /&gt;
        &amp;lt;?php&lt;br /&gt;
        spl_autoload_register(function ($nombre_clase) {&lt;br /&gt;
            include $nombre_clase . '.php';&lt;br /&gt;
        });&lt;br /&gt;
&lt;br /&gt;
        $medico1 = new Medica(&amp;quot;María&amp;quot;, &amp;quot;Martínez&amp;quot;, &amp;quot;Casa de María&amp;quot;, 29, &amp;quot;Cardiólogía&amp;quot;);&lt;br /&gt;
        $medico2 = new Medica(&amp;quot;Luis&amp;quot;, &amp;quot;Pérez&amp;quot;, &amp;quot;Casa de Luis&amp;quot;, 38, &amp;quot;Pediatría&amp;quot;);&lt;br /&gt;
        $medico3 = new Medica(&amp;quot;Nieves&amp;quot;, &amp;quot;Ruiz&amp;quot;, &amp;quot;Casa de Nieves&amp;quot;, 44, &amp;quot;Dermatología&amp;quot;);&lt;br /&gt;
        $conserje = new Conserje(&amp;quot;Soledad&amp;quot;, &amp;quot;Viruela&amp;quot;, &amp;quot;Casa de Soledad&amp;quot;, 58, &amp;quot;Mostrador Entrada&amp;quot;);&lt;br /&gt;
        $enfermera = new Enfermera(&amp;quot;Javier&amp;quot;, &amp;quot;Moreno&amp;quot;, &amp;quot;Casa de Javier&amp;quot;, 1990);&lt;br /&gt;
        $enfermera2 = new Enfermera(&amp;quot;Luis&amp;quot;, &amp;quot;Perez&amp;quot;, &amp;quot;Casa de Javier&amp;quot;, 1990);&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
        $conserje-&amp;gt;avisoEnfermera($enfermera, &amp;quot;Realizar cura en brazo Señor Martínez NSS 50/2155441/35&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        $enfermera-&amp;gt;avisoMedico($medico3, &amp;quot;Paciente con toss y fiebre&amp;quot;);&lt;br /&gt;
        &lt;br /&gt;
        $enfermera2-&amp;gt;avisoMedico($medico2, &amp;quot;Paciente con toss y fiebre&amp;quot;);&lt;br /&gt;
        $enfermera2-&amp;gt;avisoMedico($medico2, &amp;quot;Paciente con Vómitos&amp;quot;);&lt;br /&gt;
        $enfermera2-&amp;gt;avisoMedico($medico3, &amp;quot;Paciente con pie torcido, impresión de rotura&amp;quot;);&lt;br /&gt;
        &lt;br /&gt;
&lt;br /&gt;
        $conserje-&amp;gt;avisoMedico($medico1, &amp;quot;Visitar en casa con mucha fiebre&amp;quot;, &amp;quot;Visita&amp;quot;);&lt;br /&gt;
        $conserje-&amp;gt;avisoMedico($medico1, &amp;quot;Problemas para desplazarse &amp;quot;, &amp;quot;Visita&amp;quot;);&lt;br /&gt;
        $conserje-&amp;gt;avisoMedico($medico2, &amp;quot;Mareos y vétigos&amp;quot;, &amp;quot;Visita&amp;quot;);&lt;br /&gt;
        $conserje-&amp;gt;avisoMedico($medico2, &amp;quot;Persona mayor con poca mobilidad&amp;quot;, &amp;quot;Visita&amp;quot;);&lt;br /&gt;
        $conserje-&amp;gt;avisoMedico($medico3, &amp;quot;Niño pequeño con fiebre&amp;quot;, &amp;quot;Visita&amp;quot;);&lt;br /&gt;
        $conserje-&amp;gt;avisoMedico($medico1, &amp;quot;Caída en el parque&amp;quot;, &amp;quot;Consulta&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
        echo &amp;quot;$medico3&amp;quot;;&lt;br /&gt;
        echo &amp;quot;$medico1&amp;quot;;&lt;br /&gt;
        echo &amp;quot;$medico2&amp;quot;;&lt;br /&gt;
// put your code here&lt;br /&gt;
        ?&amp;gt;&lt;br /&gt;
    &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
*La salida que muestra este código son los '''''echo ''''', que podríamos ver en la siguiente imagen&lt;br /&gt;
[[Imagen:EjemploAmbulatorioIndex.png]]&lt;/div&gt;</summary>
		<author><name>ManuelRomero</name></author>	</entry>

	</feed>