List Info

Thread: SampleCommand1.php




SampleCommand1.php
user name
2006-11-15 21:56:41
Update of /var/cvs/Geeklog-2.x/MVCnPHP/ProjectStub/commands
In directory
iowaoutdoors:/tmp/cvs-serv939/ProjectStub/commands

Modified Files:
	SampleCommand1.php 
Log Message:
Fixed whitespace issues as a result of me moving a file
between linux/windows.  Constructor now takes viewDir and
commandDir.

Index: SampleCommand1.php
============================================================
=======
RCS file:
/var/cvs/Geeklog-2.x/MVCnPHP/ProjectStub/commands/SampleComm
and1.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** SampleCommand1.php	15 Nov 2006 01:41:24 -0000	1.2
--- SampleCommand1.php	15 Nov 2006 21:56:39 -0000	1.3
***************
*** 1,26 ****
! <?php
! 
! require_once 'Geeklog/MVCnPHP/BaseCommand.php';
! 
! class SampleCommand1 extends Geeklog_MVCnPHP_BaseCommand {
!     public function getNames()
!     {
!         return array('ForwardTest',);
!     }
!     
!     public function getForwards()
!     {
!         $forwards = array();
!         
!         $forwards[] = new Geeklog_MVCnPHP_Forward('leg1',
Geeklog_MVCnPHP_Forward::COMMAND, 'Leg2');
!         
!         return $forwards;
!     }
!     
!     public function execute()
!     {
!         return 'leg1';
!     }
! }
! 
  ?>
 No newline at end of file
--- 1,26 ----
! <?php
! 
! require_once 'Geeklog/MVCnPHP/BaseCommand.php';
! 
! class SampleCommand1 extends Geeklog_MVCnPHP_BaseCommand {
!     public function getNames()
!     {
!         return array('ForwardTest',);
!     }
!     
!     public function getForwards()
!     {
!         $forwards = array();
!         
!         $forwards[] = new Geeklog_MVCnPHP_Forward('leg1',
Geeklog_MVCnPHP_Forward::COMMAND, 'Leg2');
!         
!         return $forwards;
!     }
!     
!     public function execute()
!     {
!         return 'leg1';
!     }
! }
! 
  ?>
 No newline at end of file

_______________________________________________
geeklog2-cvs mailing list
geeklog2-cvslists.geeklog.net
http://lists.geeklog.net/mailman/listinfo/geeklog2-cvs

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )