View file application/libraries/Engine/Package/Manager/Operation/Remove.php

File size: 1.05Kb
<?php
/**
 * SocialEngine
 *
 * @category   Engine
 * @package    Engine_Package
 * @copyright  Copyright 2006-2010 Webligo Developments
 * @license    http://www.socialengine.com/license/
 * @version    $Id: Remove.php 9747 2012-07-26 02:08:08Z john $
 * @author     John Boehr <j@webligo.com>
 */

/**
 * @category   Engine
 * @package    Engine_Package
 * @copyright  Copyright 2006-2010 Webligo Developments
 * @license    http://www.socialengine.com/license/
 * @author     John Boehr <j@webligo.com>
 */
class Engine_Package_Manager_Operation_Remove
  extends Engine_Package_Manager_Operation_Abstract
{
  protected function _setPackages(Engine_Package_Manifest $targetPackage,
      Engine_Package_Manifest $currentPackage = null)
  {
    $this->_targetPackage = null; //$targetPackage;
    $this->_currentPackage = ( $targetPackage ? $targetPackage : $currentPackage );
  }
  
  public function getSourcePackage()
  {
    return $this->getPackage();
  }
  
  public function getResultantPackage()
  {
    return null;
  }

  public function doInstall()
  {

  }
}