<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://wiki.kumbiaphp.com/index.php?action=history&amp;feed=atom&amp;title=ApplicationControllerBase</id>
	<title>ApplicationControllerBase - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.kumbiaphp.com/index.php?action=history&amp;feed=atom&amp;title=ApplicationControllerBase"/>
	<link rel="alternate" type="text/html" href="https://wiki.kumbiaphp.com/index.php?title=ApplicationControllerBase&amp;action=history"/>
	<updated>2026-06-02T19:36:17Z</updated>
	<subtitle>Historial de revisiones de esta página en el wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.kumbiaphp.com/index.php?title=ApplicationControllerBase&amp;diff=841&amp;oldid=prev</id>
		<title>Joanhey: /* ApplicationControllerBase */</title>
		<link rel="alternate" type="text/html" href="https://wiki.kumbiaphp.com/index.php?title=ApplicationControllerBase&amp;diff=841&amp;oldid=prev"/>
		<updated>2009-06-06T02:14:56Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;ApplicationControllerBase&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 02:14 6 jun 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l48&quot; &gt;Línea 48:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 48:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;El método seguridad ahora se encuentra disponible para cualquier controlador.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;El método seguridad ahora se encuentra disponible para cualquier controlador.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; 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;[[Categoría:Application Controller]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Joanhey</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.kumbiaphp.com/index.php?title=ApplicationControllerBase&amp;diff=834&amp;oldid=prev</id>
		<title>Joanhey: Página creada con &#039;=&#039;&#039;&#039;ApplicationControllerBase&#039;&#039;&#039;=  Es una clase definida en el archivo controllers/application.php, de esta forma: &lt;source lang=php&gt; &lt;?php  class ControllerBase {  }//fin de la ...&#039;</title>
		<link rel="alternate" type="text/html" href="https://wiki.kumbiaphp.com/index.php?title=ApplicationControllerBase&amp;diff=834&amp;oldid=prev"/>
		<updated>2009-06-06T02:08:38Z</updated>

		<summary type="html">&lt;p&gt;Página creada con &amp;#039;=&amp;#039;&amp;#039;&amp;#039;ApplicationControllerBase&amp;#039;&amp;#039;&amp;#039;=  Es una clase definida en el archivo controllers/application.php, de esta forma: &amp;lt;source lang=php&amp;gt; &amp;lt;?php  class ControllerBase {  }//fin de la ...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=&amp;#039;&amp;#039;&amp;#039;ApplicationControllerBase&amp;#039;&amp;#039;&amp;#039;=&lt;br /&gt;
&lt;br /&gt;
Es una clase definida en el archivo controllers/application.php, de esta forma:&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
class ControllerBase {&lt;br /&gt;
&lt;br /&gt;
}//fin de la clase&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
La clase tiene como objetivo permitir que se compartan ciertos métodos y atributos que&lt;br /&gt;
deben estar disponibles para todos los controladores de la aplicación.&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
class ControllerBase {&lt;br /&gt;
&lt;br /&gt;
  protected function seguridad(){&lt;br /&gt;
    /* ... */&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
}//fin de la clase&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
y por ejemplo en el controlador productos podríamos usar este método así:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=php&amp;gt;&lt;br /&gt;
&amp;lt;?php&lt;br /&gt;
&lt;br /&gt;
class Productos extends ApplicationController {&lt;br /&gt;
&lt;br /&gt;
  public function adicionar(){&lt;br /&gt;
&lt;br /&gt;
    if($this-&amp;gt;seguridad()){&lt;br /&gt;
      /* .... */&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
}//fin de la clase&lt;br /&gt;
&lt;br /&gt;
?&amp;gt;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
El método seguridad ahora se encuentra disponible para cualquier controlador.&lt;/div&gt;</summary>
		<author><name>Joanhey</name></author>
		
	</entry>
</feed>