デザイナーと二人組で超チューニング祭に参加しました。速度面での最終順位は7位でした。デザイナー視点でのまとめは、こちら http://blog.mikiishijima.com/cho-tuning-fes/
コミットログはこちら https://github.com/tai2/nicohaya/commits/master
<?php defined('C5_EXECUTE') or die("Access Denied."); | |
namespace Application\Controller; | |
use Concrete\Core\File\FileList; | |
class GetFileDataContoroller { | |
public function index(){ | |
$fl = new FileList(); | |
<?php | |
/** | |
* ---------------------------------------------------------------------------- | |
* # Custom Application Handler | |
* | |
* You can do a lot of things in this file. | |
* | |
* ## Set a theme by route: | |
* |
; php options | |
session.save_handler = files | |
session.save_path = /var/lib/php5 | |
session.gc_maxlifetime = 1440 | |
short_open_tag = On | |
expose_php = Off | |
; hhvm specific | |
hhvm.log.level = Warning |
<!DOCUTYPE HTML> | |
<html> | |
<head> | |
<title>CSS3 calc()って知ってた?</title> | |
<style> | |
* { | |
margin: 0; | |
padding: 0; | |
} | |
html,body{ |
<?php | |
class ほげ{ | |
var $プロパティ; | |
function ほげ(){ | |
$this->プロパティ = "ほげ"; | |
} | |
<?php | |
for($i=1;$i<=100;$i++){ | |
if(($i%3)==0){ | |
echo "Fizz"; | |
} | |
if(($i%5)==0){ | |
echo "Buzz"; | |
}elseif(($i%3)>0){ | |
echo $i; | |
} |
デザイナーと二人組で超チューニング祭に参加しました。速度面での最終順位は7位でした。デザイナー視点でのまとめは、こちら http://blog.mikiishijima.com/cho-tuning-fes/
コミットログはこちら https://github.com/tai2/nicohaya/commits/master
<?php | |
$uh = Loader::helper('concrete/urls'); | |
$url = $uh->getToolsURL('disable_mobile') . '?rcID=' . $c->getCollectionID(); | |
?> | |
<a href="<?php echo $url; ?>"><?php echo t('View desktop site'); ?></a> |
<?php defined('C5_EXECUTE') or die("Access Denied."); | |
//Load Data models in package | |
Loader::model("data_list","data"); | |
Loader::model("data_type","data"); | |
//Create DataType object | |
$dataType = new DataType; | |
//load DataType by handle | |
$dataType->Load('dtHandle=?', array("object")); |