This file contains hidden or 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 Concrete\Package\Test; | |
use Package, | |
Page, | |
Events, | |
View, | |
Symfony\Component\EventDispatcher\GenericEvent; | |
class Controller extends Package |
This file contains hidden or 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 | |
$a = 1 / 0; |
This file contains hidden or 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 | |
use \Punic\Unit; | |
include 'vendor/autoload.php'; | |
// This will output `2 Millisekunden` | |
echo Unit::format(2, 'millisecond', 'long', 'de'); | |
// This will output `2 ms` | |
echo Unit::format(2, 'millisecond', 'short', 'en'); |
This file contains hidden or 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
"require": { | |
"punic/punic": "1.*" | |
} |
This file contains hidden or 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 | |
/* /controllers/dashboard/system/seo/bulk_seo_tool.php */ | |
defined('C5_EXECUTE') or die('Access Denied.'); | |
class DashboardSystemSeoBulkSeoToolController extends Concrete5_Controller_Dashboard_System_Seo_BulkSeoTool { | |
public function getRequestedSearchResults() { | |
$searchResult = parent::getRequestedSearchResults(); |
This file contains hidden or 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('C5_EXECUTE') or die("Access Denied."); ?> | |
<div id="rssSummaryList<?php echo intval($bID)?>" class="rssSummaryList"> | |
<?php if( strlen($title)>0 ){ ?> | |
<div class="rssSummaryListTitle" style="margin-bottom:8px"><?php echo $title?></div> | |
<?php } ?> | |
<?php | |
$rssObj=$controller; |