This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access. | |
defined('_JEXEC') or die; | |
// Include dependancy of the main controllerform class | |
jimport('joomla.application.component.controllerform'); | |
class MyResourceListControllerJoinWithUs extends JControllerForm | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access to this file | |
defined('_JEXEC') or die('Restricted access'); | |
JHtml::_('behavior.keepalive'); | |
JHtml::_('behavior.formvalidation'); | |
JHtml::_('behavior.tooltip'); | |
// get the menu parameters for use | |
$menuparams = $this->state->get("menuparams"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<form name="updjointcm"> | |
<fieldset name="joinwithus"> | |
<field name="fname" type="text" description="COM_MYRESOURCELIST_FORM_DESC_NAME" | |
label="COM_MYRESOURCELIST_FORM_LBL_NAME" required="true" size="50" /> | |
<field name="lname" type="text" description="COM_MYRESOURCELIST_FORM_DESC_LNAME" | |
label="COM_MYRESOURCELIST_FORM_LBL_LNAME" size="50" /> | |
<field name="age" type="text" description="COM_MYRESOURCELIST_FORM_DESC_AGE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access to this file | |
defined('_JEXEC') or die('Restricted Access'); | |
?> | |
<tr> | |
<td colspan="3"><?php echo $this->pagination->getListFooter(); ?></td> | |
</tr> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access to this file | |
defined('_JEXEC') or die('Restricted Access'); | |
?> | |
<?php foreach($this->items as $i => $item): ?> | |
<tr class="row<?php echo $i % 2; ?>"> | |
<td> | |
<?php echo $item->id; ?> | |
</td> | |
<td> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access to this file | |
defined('_JEXEC') or die('Restricted Access'); | |
?> | |
<tr> | |
<th width="5"> | |
<?php echo JText::_('Id'); ?> | |
</th> | |
<th width="20"> | |
<input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count($this->items); ?>);" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access to this file | |
defined('_JEXEC') or die('Restricted Access'); | |
// load tooltip behavior | |
JHtml::_('behavior.tooltip'); | |
?> | |
<form action="<?php echo JRoute::_('index.php?option=com_myresourcelist'); ?>" method="post" name="adminForm"> | |
<table class="adminlist"> | |
<thead><?php echo $this->loadTemplate('head');?></thead> | |
<tfoot><?php echo $this->loadTemplate('foot');?></tfoot> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<metadata> | |
<layout title="Regions Table"> | |
<message>This is menu item for Join with Us Table</message> | |
</layout> | |
</metadata> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access to this file | |
defined('_JEXEC') or die('Restricted access'); | |
// import Joomla view library | |
jimport('joomla.application.component.view'); | |
/** | |
* JoinTCMs View | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// No direct access to this file | |
defined('_JEXEC') or die('Restricted access'); | |
// import the Joomla modellist library | |
jimport('joomla.application.component.modellist'); | |
/** | |
* HelloWorldList Model | |
*/ | |
class MyResourceListModelRegions extends JModelList | |
{ |