summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket528.php
diff options
context:
space:
mode:
authorctrlaltca <>2012-07-12 11:21:01 +0000
committerctrlaltca <>2012-07-12 11:21:01 +0000
commit903ae8a581fac1e6917fc3e31d2ad8fb91df80c3 (patch)
treee08bf04f0823650a231227ac3499121270172a23 /tests/FunctionalTests/tickets/protected/pages/Ticket528.php
parent3e4e6e66aeb3f8fea4e1eb4237498ef9d2358f63 (diff)
standardize the use of unix eol; use svn properties to enforce native eol
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket528.php')
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket528.php68
1 files changed, 34 insertions, 34 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket528.php b/tests/FunctionalTests/tickets/protected/pages/Ticket528.php
index c2d1fcbe..2e05dbfd 100644
--- a/tests/FunctionalTests/tickets/protected/pages/Ticket528.php
+++ b/tests/FunctionalTests/tickets/protected/pages/Ticket528.php
@@ -1,35 +1,35 @@
-<?php
-Prado::using('System.Web.UI.ActiveControls.*');
-class Ticket528 extends TPage
-{
- public static $turnos = array(
- 'M' => array('id_turno' => 'M', 'descricao' => 'Manhã'),
- 'T' => array('id_turno' => 'T', 'descricao' => 'Tarde'),
- 'N' => array('id_turno' => 'N', 'descricao' => 'Noite')
- );
-
-
- public function onLoad($param)
- {
- parent::onLoad($param);
- if (!$this->IsPostBack) {
- $this->DDropTurno->loadOptions();
- $this->loadDadosTurno($this->DDropTurno->getSelectedValue());
- }
- }
-
-
- protected function loadDadosTurno($id)
- {
- $this->Codigo->setText(self::$turnos[$id]['id_turno']);
- $this->Descricao->setText(self::$turnos[$id]['descricao']);
- }
-
-
- public function trocaTurno($sender,$param)
- {
- $this->loadDadosTurno($sender->getSelectedValue());
- }
-}
-
+<?php
+Prado::using('System.Web.UI.ActiveControls.*');
+class Ticket528 extends TPage
+{
+ public static $turnos = array(
+ 'M' => array('id_turno' => 'M', 'descricao' => 'Manhã'),
+ 'T' => array('id_turno' => 'T', 'descricao' => 'Tarde'),
+ 'N' => array('id_turno' => 'N', 'descricao' => 'Noite')
+ );
+
+
+ public function onLoad($param)
+ {
+ parent::onLoad($param);
+ if (!$this->IsPostBack) {
+ $this->DDropTurno->loadOptions();
+ $this->loadDadosTurno($this->DDropTurno->getSelectedValue());
+ }
+ }
+
+
+ protected function loadDadosTurno($id)
+ {
+ $this->Codigo->setText(self::$turnos[$id]['id_turno']);
+ $this->Descricao->setText(self::$turnos[$id]['descricao']);
+ }
+
+
+ public function trocaTurno($sender,$param)
+ {
+ $this->loadDadosTurno($sender->getSelectedValue());
+ }
+}
+
?> \ No newline at end of file