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 MyBehavior extends CActiveRecordBehavior | |
{ | |
public to='yyyy-MM-dd'; | |
public $from='Y-m-d'; | |
public function beforeSave($event) | |
{ | |
foreach ($this->owner->tableSchema->columns as $attribute => $column) |
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
(function($){ | |
var yiiActiveFormAjax={ | |
beforeSend: function() { | |
var submit=$(this).find(':submit'); | |
submit.prop('disabled',true); | |
}, | |
complete: function(){ | |
var submit=$(this).find(':submit'); | |
submit.prop('disabled',false); |
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
GR_UPPERS = { | |
"Α" => "α", "Β" => "β", "Γ" => "γ", "Δ" => "δ", "Ε" => "ε", "Ζ" => "ζ", | |
"Η" => "η", "Θ" => "θ", "Ι" => "ι", "Κ" => "κ", "Λ" => "λ", "Μ" => "μ", | |
"Ν" => "ν", "Ξ" => "ξ", "Ο" => "ο", "Π" => "π", "Ρ" => "ρ", "Σ" => "σ", | |
"Τ" => "τ", "Υ" => "υ", "Φ" => "φ", "Χ" => "χ", "Ψ" => "ψ", "Ω" => "ω" | |
} | |
GR_ALPHA = [ | |
"ἀ", "ἁ", "ἂ", "ἃ", "ἄ", "ἅ", "ἆ", "ἇ", | |
"Ἀ", "Ἁ", "Ἂ", "Ἃ", "Ἄ", "Ἅ", "Ἆ", "Ἇ", |
NewerOlder