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 | |
/** | |
* ForeignKeyBehavior | |
* | |
* How to use. | |
* Ex. | |
* class AppModel extends Model { | |
* var $actsAs = array('ForeignKey'); | |
* | |
* function readForeignKeyValue() |
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
@namespace url(http://www.w3.org/1999/xhtml); | |
ul:before,ul:after, | |
ol:before,ol:after, | |
dl:before,dl:after, | |
dt:before,dt:after, | |
dd:before,dd:after, | |
li:before,li:after, | |
h1:before,h1:after, | |
h2:before,h2:after, |
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 | |
App::import('Vendor', 'Post.FCKeditor', array('file' => 'fckeditor/fckeditor.php')); | |
class FckHelper extends AppHelper { | |
var $helpers = array('Form', 'Javascript', 'Session'); | |
function textarea($fieldName, $options = array()) | |
{ | |
$defaultOptions = array( |
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 | |
class TagBehavior extends ModelBehavior { | |
var $targetModel = array(); | |
var $dependModel = array(); | |
var $transactionModel = array(); | |
var $dependTransactionModel = array(); | |
var $countField = array(); | |
function setup(&$model, $config=array()) | |
{ |
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
.DS_Store | |
tmp/**/* | |
config/database.php |
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 | |
uses('Xml'); | |
class Rss extends AppModel { | |
var $name = 'Rss'; | |
var $useTable = false; | |
var $cacheDuration = '+1 hours'; | |
function find($method, $options = array()) | |
{ | |
$default = array( |
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 | |
/** | |
* GoogleChart Helper | |
* | |
* The Google Chart API helper of CakePHP. | |
* | |
* @version 0.41 | |
* @package ksz_cake_plugins | |
* @subpackage ksz_cake_plugins.tools | |
* @author ksz |
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 | |
/** | |
* Helper for AJAX operations. | |
* | |
* Helps doing AJAX using the JQuery library. | |
* | |
* PHP versions 4 and 5 | |
* | |
* | |
* Licensed under The MIT License |
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
<select name="都道府県"> | |
<option value="">都道府県をお選びください。</option> | |
<optgroup label="北海道・東北"> | |
<option value="北海道">北海道</option> | |
<option value="青森県">青森県</option> | |
<option value="秋田県">秋田県</option> | |
<option value="岩手県">岩手県</option> | |
<option value="山形県">山形県</option> | |
<option value="宮城県">宮城県</option> | |
<option value="福島県">福島県</option> |
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
<!-- JIS X0402 --> | |
<select name="都道府県"> | |
<option value="">都道府県をお選びください。</option> | |
<optgroup label="北海道・東北"> | |
<option value="01">北海道</option> | |
<option value="02">青森県</option> | |
<option value="03">岩手県</option> | |
<option value="04">宮城県</option> | |
<option value="05">秋田県</option> | |
<option value="06">山形県</option> |
OlderNewer