Skip to content

Commit

Permalink
Adding FlippingBook plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
fastslack committed Jun 12, 2012
1 parent 966f948 commit f758031
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
47 changes: 47 additions & 0 deletions trunk/admin/extensions/com_flippingbook.php
@@ -0,0 +1,47 @@
<?php
/**
* jUpgrade
*
* @version $Id:
* @package MatWare
* @subpackage com_jupgrade
* @copyright Copyright 2006 - 2011 Matias Aguirre. All rights reserved.
* @license GNU General Public License version 2 or later.
* @author Matias Aguirre <maguirre@matware.com.ar>
* @link http://www.matware.com.ar
*/

// Check to ensure this file is within the rest of the framework
defined('JPATH_BASE') or die();

/**
* jUpgrade class for Flippingbook migration
*
* This class migrates the JCE extension
*
* @since 1.1.0
*/
class jUpgradeComponentFlippingbook extends jUpgradeExtensions
{
/**
* Check if extension migration is supported.
*
* @return boolean
* @since 1.1.0
*/
protected function detectExtension()
{
return true;
}

/**
* Migrate tables
*
* @return boolean
* @since 1.1.0
*/
public function migrateExtensionCustom()
{
return true;
}
}
14 changes: 14 additions & 0 deletions trunk/admin/extensions/com_flippingbook.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<!DOCTYPE jupgrade>
<jupgrade>
<name>FlippingBook for Joomla 2.5</name>

<!-- The tables to copy to the new site. -->
<tables>
<table>flippingbook_books</table>
<table>flippingbook_categories</table>
<table>flippingbook_config</table>
<table>flippingbook_pages</table>
</tables>

</jupgrade>

0 comments on commit f758031

Please sign in to comment.