forked from ghazal/plg_mvcoverride
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mvcoverride.xml
executable file
·29 lines (29 loc) · 1.49 KB
/
mvcoverride.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.2" type="plugin" group="system" method="upgrade">
<name>System - MVC Override</name>
<author>Julio Pontes - modified by Alex Chartier and Ghazal</author>
<creationDate>December 2014</creationDate>
<copyright>Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<authorUrl>http://twitter.com/juliopontes</authorUrl>
<version>3.2</version>
<description>Provides a component MVC override.</description>
<files>
<filename plugin="mvcoverride">mvcoverride.php</filename>
<folder>module</folder>
</files>
<config>
<fields name="params">
<fieldset name="basic">
<field name="extendDefault" type="list" default="0" label="Make Extendable" description="Extend core component class. Its better to use OOP to extend components. You will be able to extend your override classes extend a Component[Controller|Model|View][Name]Default">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
<field name="changePrivate" type="list" default="0" label="Change Functions" description="Changes all private methods in the base class to protected methods which allows the subclass to extend the base class better. This is not recommended unless you really need it.">
<option value="0">No</option>
<option value="1">Yes</option>
</field>
</fieldset>
</fields>
</config>
</extension>