2012-01-01ãã1å¹´éã®è¨äºä¸è¦§
ããªãã¼ãã§å ¨é¨ã®ã¨ã©ã¼ã ã echo $form->renderGlobalErrors()
border-radiusãtableã«ããã¨ã㯠border-collapse: separateã«ãã¦tdã¨ãtrã®backgroundãtransparentã«ãã¦ããå¿ è¦ãæã
$form['hoge']->getWidget()->getChoices()
jquery ã® sortable å ¥ãã¦ãã©ãã°ã»ã¢ã³ãã»ããããã§ç§»åå¯è½ã«ãã㨠ãã®ä¸ã«ãã input ã¨ã textarea ãé¸æã§ããªããªã£ã¡ãã£ãã解決æ¹æ³ $("#hoge").sortable().disableSelection().delegate('input,textarea','click',function(ev){ ev.target.â¦
pages/topã®ãã³ãã¬ã¼ãã®ä¸ã§include_component(auth/login)ãã¦ã¦ ahtuã®_login.phpã®ä¸ã§ getModuleNameããã¨1.0ã§ã¯"pages"ã1.4ã§ã¯"auth"ãè¿ã£ã¦ããã¿ããã§ããgetModuleNameï¼ï¼ãè¦ã¦ã¿ã㨠1.0ã§ã¯sfComponentãinitializeããã¨ãã«æ¸¡ãã¦ãâ¦
table { table-layout: fixed; word-wrap: break-word; }
è»ãé«ã売ãããã»ã»ã»ã ãããªã¨ãã¯ãããè»æ»å®ã®ããããï¼ï¼ããããã¯æè»ã®æ å ±ãå ¥åããã°æ大10社ã®è²·åæ¥è ã«æ»å®ä¾é ¼ããããã¨ã®ã§ããè»æ»å®ã®ãµã¤ãã§ãã ã¤ã¾ã1度æè»ã®æ å ±ãå ¥åããã ãã§ããããã®è²·åæ¥è ã«è¦ç©ãã£ã¦ããããã®ã§â¦
svn log --verbose --stop-on-copy URL svn merge --dry-run -r ãªãã¸ã§ã³çªå·:HEAD URL svn merge -r ãªãã¸ã§ã³çªå·:HEAD URL1ã¤ç®ã®ã§ã©ãã§ãã©ã³ãã¤ãã£ããã®ãªãã¸ã§ã³çªå·ããã¹ã¦ 2ã§--dry-runãã£ã¦ãªã«ãå¤ãããã¿ã¦ã¿ã¦ 3ã§å®éã«ãã¼ã¸
ãããã§google analyticsã®APIå©ãã«ãã£ã¦ããã ãã© ä»æ¥ï¼æ¨æ¥ï¼ããçªç¶403ã帰ã£ã¦ãããæ¥ãªãã£ããããããã«ãªãã¾ãããã¡ãªã¿ã«ã¨ã¼ã©ã¼æè¨ãããªã®ã usageLimitsuserRateLimitExceededUnregUser Rate Limit Exceeded. Please sign up https:/â¦
Sub hoge() ããããå¦çãã¦ä¾å¤ããã¨ãã« Err.Raise 513, "å ¥åç»é¢", "å¤ãä¸æ£ã§ããåå ¥åãã¦ãã ããã" End Sub 'ã¡ã¤ã³é¢æ° Sub main() On Error GoTo ErrorHandler hoge 以éã®å¦ç Exit Sub ErrorHandler: Debug.Print Err.Description End Subâ¦
ã¹ãã¼ãã§defaultãå®ç¾©ãã¦ãã®ã« insertã®ã¨ãã«ãªã«ãã»ããããªãã¨fatalã«ãªãã/symfony/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Record.php ã®1834è¡ç®ã§booleanã®defaulãã»ãããã¦ããã ãã© ã©ãããããéã£ã¦ãªãã ã¡ãã£ã¨â¦
<script type="text/javascript"> function back() { document.form.submit(); return false; } </script> <a onclick="back(); return false;" href=""javascript:void(0)">æ»ã</a>ã£ã¦ãã£ãã¨ãã« IEã ã¨ãã¾ãããããªãã¿ããã ffã ã¨ãããã®ã«ã¼ã
// view.yml ã®ãªã indexSuccess: stylesheets: [main, paper: { media: print }] // ã¢ã¯ã·ã§ã³ ã®ãªã $this->getResponse()->addStylesheet('paper', '', array('media' => 'print')); // ãã³ãã¬ã¼ãã®ãªã 'print')) ?> // çµæã®ãã¥ã¼
⦠<li> <dl> <dt>hoge</dt> <dd>hogehoge</dd> </dl> </li> â¦ã£ã¦ãã£ãã¨ãIE6,7ã®ã¨ãã ã ã£ã¦ãªããè¬ã®ç©ºç½ã§ããã ãã¡ããdlã¯paddingãmarginã0ã¤ãã¦ãã ãã 調ã¹ã㨠dl { display: inline; }ã§inlineè¦ç´ ã«ããã¨è§£æ±ºããã¿ãããããããã ã¼ï¼
inline-blockãã¤ããã¨ie6,7ã§ã¯widthãã¡ãã¼ã©ãã大ããã«ãªããªãã®ã§ inline-blockãé©å¿ãããè¦ç´ ã«ä»¥ä¸ã追å display:inline-block; *display: inline;/*ã¹ã¿ã¼ããã¯ãã¦ã*/ *zoom: 1;/*ãããã¹ã¿ã¼ããã¯*/
aã¿ã°ã®onclickã§formã®submitãè¡ãã¨ãIE6ã ãåä½ããªããã¨ãããã ï¼,<a href="javascript:hoge();"> ï¼,<a href="javascript:void(0);" onClick="hoge();"> ï¼,<a href="javascript:void(0);" onClick="hoge();return false;">function hoge(){ document.myForm.submit(); return false; }ãã®å ´åï¼ã®ãã¿ã¼ã³ã®æã ãIE6ã ã¨åããªãã¿ããã hoge()ã®ãªãã§return false;â¦</a></a></a>
z-indexã¤ããã¨ãã¯ã©ã®divã®ä¸ã«ããããèã㦠ãã®divã¨ååã«ããdivã«å¯¾ãã¦z-indexã¤ããã ãã¨åæã« position: relative;ã¨ãã¿ããã«æ®é以å¤ã®positionãããã¦æå®ããªãããã¡ã
checkBoxã¨ãradioã§changeã¤ãã³ãã使ã£ã¡ããã¡ï¼IEã§ã¯ãã¾ãåããªãã clickã使ããã¨ï¼
Doctrine_Tableãç¶æ¿ããmyDoctrine_Tableãä½ã£ã¦ åmodelãmyDoctrine_Tableãç¶æ¿ããããã«ããããã§myDoctrine_Tableå ã« public function saveRecord($params, $connection = null) { if (is_null($connection)) { $connection = Doctrine_Manager::â¦
class HogeTable extends Doctrine_Table { public function getPrimaryKeys() { return (array) $this->getIdentifier() } }
èªç¶æ¤ç´¢ã§ã®çµæãæã£ã¦ãã¦ããããã®ã³ã³ãã¼ã¸ã§ã³ãç¥ãããã¨ã㯠filterã« medium==organicãæå®ãã¦ãmetricsã array('pageviewsPerVisit', 'visits', 'avgTimeOnSite', 'percentNewVisits', 'entranceBounceRate', 'goalConversionRateAll', 'goâ¦
idã¨nameã®ä¸¡ã«ã©ã ã§ã®ã¦ãã¼ã¯ãã§ãã¯ããããã¨ã $this->validatorSchema['id'] = new sfValidatorDoctrineUnique( array( 'model' => 'MyModel', 'column' => array('id', 'name'), ), array( 'invalid' => 'ãã®id,nameã®çµã¿åããã¯æ¢ã«ç»é²ããã¦â¦
$.getã ã¨éä¿¡æåæã®ã³ã¼ã«ããã¯é¢æ°ã®å®ç¾©ããã§ããªãã æåã¨å¤±æã¨ã§å¦çåãããã¨ãã¯$.ajax使ãã $(function(){ $.ajax({ url : "./news.txt", type : "get", success : function(data){ alert(data); }, error : function(){ alert("èªã¿è¾¼ãã¾â¦
http://gokercebeci.com/dev/droparea ã使ãã ã¡ãã£ã¨ä¸èº«æ¸ãæãããã©åºæ¬çã«ã¯ãã³ãã¬ã¼ãã« <script type="text/JavaScript"> $(function () { $('.droparea').droparea({ 'instructions': 'ç»åãããã¦ãã ãã', 'over': 'ç»åãé¢ãã¦ãã ãã', 'start' : function(area){ arâ¦
sfForm使ãã¨ã©ãããã¾ãåºæ¥ãªãã£ãã®ã§ä»å㯠ç»åã®å å·¥ããããã£ãã http://www.verot.net/home.htm ãã¤ãã£ããã¾ãGDã¤ãã£ã¦ãããGDã¤ã³ã¹ãã¼ã«ããã yum -y install php-gd使ãã¨ãã¯ãããªæãã public function executeFileUpload(sfWebRâ¦
find . -type f -name '*.html' -print0 | xargs -0 perl -i.bak -pe 's/before/after/g' iã®å¾ãã®.bakãçç¥ããã¨ããã¯ã¢ãããã¡ã¤ã«ãä½æãããªãã
Iterator ã¤ã³ã¿ã¼ãã§ã¤ã¹ã£ã¦ããã®ã¯ é¨ã®ã¤ãã¬ã¼ã¿ãããã¯ãªãã¸ã§ã¯ãèªèº«ããå復å¦çãè¡ãããã®ã¤ã³ã¿ã¼ãã§ã¤ã¹ã Iterator extends Traversable { /* ã¡ã½ãã */ abstract public mixed current ( void ) abstract public scalar key ( void )â¦
getConfiguration()); // databases.ymlã®è¨å®åãåå¾ $names = $dbManager->getNames(); foreach ($names as $name) { $db = $dbManager->getDatabase($nameâ¦
ã¤ã³ã©ã¤ã³è¦ç´ marginï¼å·¦å³âãä¸ä¸Ã paddingï¼ ä¸ä¸å·¦å³â â»ä¸ä¸ã¯è¦ãç®çã«ã¯å¹ãã¦ãªãããã«è¦ãã widthï¼Ã heightï¼Ã borderï¼â backgroundï¼âãããã¯è¦ç´ marginï¼â paddingï¼â widthï¼â heightï¼â borderï¼â backgroundï¼â
$hoge = parse_url("http://google.com/ã");$hoge ã«ã¯æå®ãããURLã®ä»¥ä¸ã®å¤ãé£æ³é åã¨ãã¦ã¯ããã host,port,user,pass,path,query,fragmentããããã®å ´å$hoge["host"] ã«ã¯ google.com ãå ¥ãã ã¡ãã£ã¨ä¾¿å©ã