[ Index ] |
|
Code source de GeekLog 1.4.1 |
1 <?php 2 3 /** 4 * Basic Command Abstract class 5 * 6 * @author Tom Willett tomw AT pigstye DOT net 7 * 8 * $Id: BaseCommand.class.php,v 1.3 2005/04/10 10:02:43 dhaun Exp $ 9 */ 10 11 class BaseCommand { 12 /** 13 * 14 * @access public 15 */ 16 17 var $result = null; //Result of execute command 18 var $num = 0; // Action Number 19 /** 20 * Constructor 21 * 22 * @access public 23 */ 24 function BaseCommand() 25 { 26 } 27 28 function execute($comment) 29 { 30 return 0; 31 } 32 33 function result() 34 { 35 global $result; 36 37 return $result; 38 } 39 function number() 40 { 41 global $num; 42 43 return $num; 44 } 45 } 46 47 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Wed Nov 21 12:27:40 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |