mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Tasks are aware if they are in rollbacks; they will be invoked only if they implement the new interface RollbackAware.
		
			
				
	
	
		
			14 lines
		
	
	
		
			207 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			207 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
class Task_SampleTask
 | 
						|
    extends Mage_Task_TaskAbstract
 | 
						|
{
 | 
						|
    public function getName()
 | 
						|
    {
 | 
						|
        return 'A Sample Task';
 | 
						|
    }
 | 
						|
 | 
						|
    public function run()
 | 
						|
    {       
 | 
						|
        return true;
 | 
						|
    }
 | 
						|
} |