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
_ |
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 | |
require_once 'Zend/Db.php'; | |
//require_once 'debug.php'; | |
class IndexController extends Zend_Controller_Action | |
{ | |
public function init() | |
{ | |
$this->view->msg = ""; |
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 | |
/** | |
* AbstractClassクラスに相当する | |
*/ | |
abstract class AbstractDisplay { | |
/** | |
* 表示するデータ | |
*/ | |
private $data; |
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
これだけ覚えれば誰でも使えるjQuery Mobile | |
http://w.builwing.info/2012/04/19/%E3%81%93%E3%82%8C%E3%81%A0%E3%81%91%E8%A6%9A%E3%81%88%E3%82%8C%E3%81%B0%E8%AA%B0%E3%81%A7%E3%82%82%E4%BD%BF%E3%81%88%E3%82%8Bjquery-mobile/ | |
レスポンシブWebデザインでテーブルを使う時の小技 | |
http://design-spice.com/2012/11/01/responsive-table/ | |
HTML5 + jQuery Mobile - 画面遷移 | |
http://haraki.jp/blog/blog.cgi?id=41 | |
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 | |
require_once 'Zend/Db.php'; | |
class MainController extends Zend_Controller_Action | |
{ | |
public function init() | |
{ | |
} | |
public function indexAction() |
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 | |
class IndexController extends Zend_Controller_Action | |
{ | |
public function init() | |
{ | |
$req = $this->getRequest(); | |
$this->url = $req->getBaseUrl()."/".$req->getModuleName()."/".$req->getControllerName(); | |
$this->view->assign('url', $this->url); |
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
$i_target = mb_convert_encoding($i_target, 'UTF-8', 'JIS-win'); | |
if (strlen($i_target) > 0) { | |
$trimCount = trim(mb_convert_kana($i_target, "s")); | |
if (strlen($trimCount) < 1) { | |
// 空白のみ | |
} | |
} |
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
<form method="post" action="/プロジェクト/public/コントローラー/アクション"> |
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
include 'ChromePhp.php'; | |
ChromePhp::log('Hello console!'); | |
ChromePhp::log($_SERVER); | |
ChromePhp::warn('something went wrong!'); | |
<?php | |
// demo.php | |
include 'ChromePhp.php'; | |
ChromePhp::log('Hello console!日本語もOK'); |
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
$test03=array( | |
array('111', '222'), | |
array('333', '444') | |
); | |
foreach ($test03 as $key1 =>$val1) { | |
foreach ($val1 as $key2 => $val2) { | |
debug($key2 . "=>" . $val2); | |
} |
OlderNewer