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 | |
/** | |
* @package ttc-freebies.plugin-responsive-images | |
* | |
* @copyright Copyright (C) 2017 Dimitrios Grammatikogiannis. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
*/ | |
defined('_JEXEC') || die; | |
use Joomla\CMS\Plugin\CMSPlugin; |
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 | |
namespace AlexApi\Tests; | |
use Generator; | |
use Joomla\Http\HttpFactory; | |
use Joomla\Uri\Uri; | |
use PHPUnit\Framework\TestCase; | |
class SmokeTest extends TestCase |
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 | |
defined('_JEXEC') or die; | |
?> | |
<div class="latestnews"> | |
<ul class="list-group list-group-flush"> | |
<?php foreach ($list as $item) : $image = json_decode($item->images); ?> | |
<?php | |
// most important part | |
// context: | |
// for articles: com_content.article |
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
/** | |
* @var bool $result_login true on successful login, false otherwise | |
*/ | |
$result_login = Factory::getApplication()->login( | |
[ | |
'username' => 'example', | |
'password' => 'mysupersecretpassword' | |
], | |
[ | |
'remember' => true, |
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"?> | |
<extension type="component" version="3.9" method="upgrade" client="administrator"> | |
<name>com_modularsqlexample</name> | |
<author>example</author> | |
<creationDate>0000-00-00</creationDate> | |
<copyright>(C) example. All rights reserved.</copyright> | |
<license>http://www.gnu.org/copyleft/gpl.html</license> | |
<authorEmail>modularsql@example.com</authorEmail> | |
<authorUrl>example.com</authorUrl> | |
<version>1.0.0</version> |
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
<label for="demo">Demo</label> | |
<select id="demo" name="demo"> | |
<?php array_unshift($this->myExampleOptionsArray, null); ?> | |
<?php echo HTMLHelper::_('select.options', $this->myExampleOptionsArray, 'value', 'text', $this->selectedOptionValue ?? '');?> | |
</select> |
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 | |
/** | |
* @package all | |
* @author Alexandre ELISÉ <contact@alexandre-elise.fr> | |
* @link https://alexandre-elise.fr | |
* @copyright (c) 2020 . Alexandre ELISÉ . Tous droits réservés. | |
* @license GPL-2.0-and-later GNU General Public License v2.0 or later | |
* Created Date : 19/07/2020 | |
* Created Time : 16:04 | |
*/ |
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 | |
declare(strict_types=1); | |
/** | |
* A.E Json Jammer (cryptographically secure prng to generate random json data structure) | |
* | |
* @package aej | |
* @author Alexandre ELISÉ <contact@alexapi.cloud> | |
* @link https://alexapi.cloud | |
* @copyright (c) 2020 - present. Alexandre ELISÉ. All rights reserved. | |
* @license MIT |
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 | |
declare(strict_types=1); | |
/** | |
* Custom Assets | |
* | |
* @version 1.0.0 | |
* @package Customasset | |
* @author Alexandre ELISÉ <contact@alexapi.cloud> | |
* @copyright (c) 2009-2022 . Alexandre ELISÉ . Tous droits réservés. |
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 | |
/** | |
* @package Joomla.Plugin | |
* @subpackage Fields.Subform | |
* | |
* @copyright (C) 2019 Open Source Matters, Inc. <https://www.joomla.org> | |
* @license GNU General Public License version 2 or later; see LICENSE.txt | |
* @contributor Alexandre ELISÉ <contact@alexapi.cloud> Modified version on 2021-12-08 | |
* @description The content of this file needs to be copied in | |
* YOUR_JOOMLA_WEBSITE_ROOT/templates/cassiopeia/html/layouts/com_fields/field/fancysubform.php |