Version Notes
0.1.1 Stable
Download this release
Release Info
Developer | ChenMickael |
Extension | AEMIK_TOOLS |
Version | 0.1.1 |
Comparing to | |
See all releases |
Code changes from version 0.1.0 to 0.1.1
- app/code/local/Iws/Expdoc/Block/Bachcreate.php +8 -0
- app/code/local/Iws/Expdoc/Block/Batch.php +8 -0
- app/code/local/Iws/Expdoc/Block/Valides.php +8 -0
- app/code/local/Iws/Expdoc/Helper/Data.php +8 -0
- app/code/local/Iws/Expdoc/Model/Attributes.php +8 -0
- app/code/local/Iws/Expdoc/Model/Attrset.php +8 -0
- app/code/local/Iws/Expdoc/Model/Category.php +8 -0
- app/code/local/Iws/Expdoc/Model/Createpdtype.php +8 -0
- app/code/local/Iws/Expdoc/Model/Doc.php +8 -0
- app/code/local/Iws/Expdoc/Model/Enabled.php +8 -0
- app/code/local/Iws/Expdoc/Model/Producttype.php +8 -0
- app/code/local/Iws/Expdoc/controllers/IndexController.php +8 -0
- app/code/local/Iws/Expdoc/etc/config.xml +10 -0
- app/code/local/Iws/Expdoc/etc/system.xml +10 -0
- app/etc/modules/Iws_Expdoc.xml +10 -0
- package.xml +4 -4
app/code/local/Iws/Expdoc/Block/Bachcreate.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Block_Bachcreate extends Mage_Adminhtml_Block_System_Config_Form_Field{
|
3 |
protected function _toHtml(){
|
4 |
$html='
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Block_Bachcreate extends Mage_Adminhtml_Block_System_Config_Form_Field{
|
11 |
protected function _toHtml(){
|
12 |
$html='
|
app/code/local/Iws/Expdoc/Block/Batch.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Block_Batch extends Mage_Adminhtml_Block_System_Config_Form_Field{
|
3 |
protected function _toHtml(){
|
4 |
$html='
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Block_Batch extends Mage_Adminhtml_Block_System_Config_Form_Field{
|
11 |
protected function _toHtml(){
|
12 |
$html='
|
app/code/local/Iws/Expdoc/Block/Valides.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Block_Valides extends Mage_Adminhtml_Block_System_Config_Form_Field{
|
3 |
protected function _toHtml(){
|
4 |
$html='
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Block_Valides extends Mage_Adminhtml_Block_System_Config_Form_Field{
|
11 |
protected function _toHtml(){
|
12 |
$html='
|
app/code/local/Iws/Expdoc/Helper/Data.php
CHANGED
@@ -1,2 +1,10 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Helper_Data extends Mage_Core_Helper_Abstract{}
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Helper_Data extends Mage_Core_Helper_Abstract{}
|
app/code/local/Iws/Expdoc/Model/Attributes.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Model_Attributes{
|
3 |
public function toOptionArray(){
|
4 |
if(strlen(Mage::getStoreConfig('iwsexpdoc/expdoc/csv_attr'))>0){
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Model_Attributes{
|
11 |
public function toOptionArray(){
|
12 |
if(strlen(Mage::getStoreConfig('iwsexpdoc/expdoc/csv_attr'))>0){
|
app/code/local/Iws/Expdoc/Model/Attrset.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Model_Attrset{
|
3 |
public function toOptionArray(){
|
4 |
try{
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Model_Attrset{
|
11 |
public function toOptionArray(){
|
12 |
try{
|
app/code/local/Iws/Expdoc/Model/Category.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Model_Category{
|
3 |
public function toOptionArray(){
|
4 |
$category = Mage::getModel('catalog/category')->getCollection();
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Model_Category{
|
11 |
public function toOptionArray(){
|
12 |
$category = Mage::getModel('catalog/category')->getCollection();
|
app/code/local/Iws/Expdoc/Model/Createpdtype.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Model_Createpdtype{
|
3 |
public function toOptionArray(){return array(array('value'=>0,'label'=>Mage::helper('expdoc')->__('Simple Product')),);}
|
4 |
}
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Model_Createpdtype{
|
11 |
public function toOptionArray(){return array(array('value'=>0,'label'=>Mage::helper('expdoc')->__('Simple Product')),);}
|
12 |
}
|
app/code/local/Iws/Expdoc/Model/Doc.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Model_Doc{
|
3 |
public function toOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('XML')),array('value'=>2,'label'=>Mage::helper('expdoc')->__('CSV')),);}
|
4 |
public function getOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('XML')),array('value'=>2,'label'=>Mage::helper('expdoc')->__('CSV')),);}
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Model_Doc{
|
11 |
public function toOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('XML')),array('value'=>2,'label'=>Mage::helper('expdoc')->__('CSV')),);}
|
12 |
public function getOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('XML')),array('value'=>2,'label'=>Mage::helper('expdoc')->__('CSV')),);}
|
app/code/local/Iws/Expdoc/Model/Enabled.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Model_Enabled{
|
3 |
public function toOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('Enabled')),array('value'=>0,'label'=>Mage::helper('expdoc')->__('Disabled')),);}
|
4 |
public function getOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('Enabled')),array('value'=>0,'label'=>Mage::helper('expdoc')->__('Disabled')),);}
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Model_Enabled{
|
11 |
public function toOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('Enabled')),array('value'=>0,'label'=>Mage::helper('expdoc')->__('Disabled')),);}
|
12 |
public function getOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('Enabled')),array('value'=>0,'label'=>Mage::helper('expdoc')->__('Disabled')),);}
|
app/code/local/Iws/Expdoc/Model/Producttype.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_Model_Producttype{
|
3 |
public function toOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('Configurable Product')),array('value'=>0,'label'=>Mage::helper('expdoc')->__('Simple Product')),);}
|
4 |
}
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_Model_Producttype{
|
11 |
public function toOptionArray(){return array(array('value'=>1,'label'=>Mage::helper('expdoc')->__('Configurable Product')),array('value'=>0,'label'=>Mage::helper('expdoc')->__('Simple Product')),);}
|
12 |
}
|
app/code/local/Iws/Expdoc/controllers/IndexController.php
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
class Iws_Expdoc_IndexController extends Mage_Core_Controller_Front_Action{
|
3 |
public function expAction(){
|
4 |
$p=$this->getRequest()->getParams();
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* AEMIK TOOLSET - 1.0
|
4 |
+
*
|
5 |
+
* @Authors Mickael Chen
|
6 |
+
* @Contact chenmickael@yahoo.com
|
7 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
8 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
9 |
+
*/
|
10 |
class Iws_Expdoc_IndexController extends Mage_Core_Controller_Front_Action{
|
11 |
public function expAction(){
|
12 |
$p=$this->getRequest()->getParams();
|
app/code/local/Iws/Expdoc/etc/config.xml
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<config>
|
3 |
<modules><Iws_Expdoc><version>0.1.0</version></Iws_Expdoc></modules>
|
4 |
<frontend><routers><expdoc><use>standard</use><args><module>Iws_Expdoc</module><frontName>iwsexpdoc</frontName></args></expdoc></routers></frontend>
|
1 |
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* AEMIK TOOLSET - 1.0
|
5 |
+
*
|
6 |
+
* @Authors Mickael Chen
|
7 |
+
* @Contact chenmickael@yahoo.com
|
8 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
9 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
10 |
+
*/
|
11 |
+
-->
|
12 |
<config>
|
13 |
<modules><Iws_Expdoc><version>0.1.0</version></Iws_Expdoc></modules>
|
14 |
<frontend><routers><expdoc><use>standard</use><args><module>Iws_Expdoc</module><frontName>iwsexpdoc</frontName></args></expdoc></routers></frontend>
|
app/code/local/Iws/Expdoc/etc/system.xml
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<config>
|
3 |
<tabs>
|
4 |
<iwsexpdoc translate="label" module="expdoc">
|
1 |
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* AEMIK TOOLSET - 1.0
|
5 |
+
*
|
6 |
+
* @Authors Mickael Chen
|
7 |
+
* @Contact chenmickael@yahoo.com
|
8 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
9 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
10 |
+
*/
|
11 |
+
-->
|
12 |
<config>
|
13 |
<tabs>
|
14 |
<iwsexpdoc translate="label" module="expdoc">
|
app/etc/modules/Iws_Expdoc.xml
CHANGED
@@ -1,4 +1,14 @@
|
|
1 |
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
<config>
|
3 |
<modules>
|
4 |
<Iws_Expdoc>
|
1 |
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* AEMIK TOOLSET - 1.0
|
5 |
+
*
|
6 |
+
* @Authors Mickael Chen
|
7 |
+
* @Contact chenmickael@yahoo.com
|
8 |
+
* @copyright Copyright (c) 2013 AEMIK (http://www.voguemonde.com)
|
9 |
+
* @license http://opensource.org/licenses/gpl-license.php (GPL)
|
10 |
+
*/
|
11 |
+
-->
|
12 |
<config>
|
13 |
<modules>
|
14 |
<Iws_Expdoc>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AEMIK_TOOLS</name>
|
4 |
-
<version>0.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Extension for Magento</summary>
|
10 |
<description>Extension for Magento</description>
|
11 |
-
<notes>0.1.
|
12 |
<authors><author><name>ChenMickael</name><user>chenmickael</user><email>chenmickael@yahoo.com</email></author></authors>
|
13 |
<date>2013-10-20</date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir><dir name="Iws"><dir name="Expdoc"><dir name="Block"><file name="Bachcreate.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>AEMIK_TOOLS</name>
|
4 |
+
<version>0.1.1</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>GPL</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>Extension for Magento</summary>
|
10 |
<description>Extension for Magento</description>
|
11 |
+
<notes>0.1.1 Stable</notes>
|
12 |
<authors><author><name>ChenMickael</name><user>chenmickael</user><email>chenmickael@yahoo.com</email></author></authors>
|
13 |
<date>2013-10-20</date>
|
14 |
+
<time>14:32:44</time>
|
15 |
+
<contents><target name="magelocal"><dir><dir name="Iws"><dir name="Expdoc"><dir name="Block"><file name="Bachcreate.php" hash="3415530c632f015dc4740448ec4ae493"/><file name="Batch.php" hash="82044f3c250148e5606d29d0d39ead87"/><file name="Valides.php" hash="e218794795fa3243db5ed05242134d77"/></dir><dir name="Helper"><file name="Data.php" hash="b09245716e20712c56058311881b6634"/></dir><dir name="Model"><file name="Attributes.php" hash="0a020b9b8657b3464157b657da2c01ac"/><file name="Attrset.php" hash="c87070fa8011b2f3e14be05c3cdd8cef"/><file name="Category.php" hash="05f8fa94f09d70022ccb29d3d3bbc990"/><file name="Createpdtype.php" hash="a60498fb1f164c94a6d63d50292c8335"/><file name="Doc.php" hash="5cc11142dfb7dfb0a5f578c807ddeae0"/><file name="Enabled.php" hash="b0d162fab63486969019c028489fe9d6"/><file name="Producttype.php" hash="374507d6505feb048e82f4297d7c53c1"/></dir><dir name="controllers"><file name="IndexController.php" hash="4e827b636cc7f936bde7012cfb4a96ee"/></dir><dir name="etc"><file name="config.xml" hash="5f8330ad3b36d75a5820fcb4339452ba"/><file name="system.xml" hash="d2671f0c2a4ec66b24b593b2da131d77"/></dir></dir></dir></dir></target><target name="mageetc"><dir><dir name="modules"><file name="Iws_Expdoc.xml" hash="77f86edbff8738e3fa779f97dd566fa5"/></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies><required><php><min>5.2.0</min><max>5.6.0</max></php></required></dependencies>
|
18 |
</package>
|