Alien-Web-ExtJS-V3
view release on metacpan or search on metacpan
share/docs/app-1c3b39672c292d36e4a5ff05c1bb7035.js view on Meta::CPAN
packaging of this file.
Please review the following information to ensure the GNU General Public License version 3.0
requirements will be met: http://www.gnu.org/copyleft/gpl.html.
If you are unsure which license is appropriate for your use, please contact the sales department
at http://www.sencha.com/contact.
Build date: 2013-04-03 15:07:25
*/
var CodeMirror=(function(){function v(aN,aK){var b2={},bk=v.defaults;for(var aA in bk){if(bk.hasOwnProperty(aA)){b2[aA]=(aK&&aK.hasOwnProperty(aA)?aK:bk)[aA]}}var aE=document.createElement("div");aE.className="CodeMirror"+(b2.lineWrapping?" CodeMirro...
share/docs/source/ContainerLayout.html view on Meta::CPAN
<span id='Ext-layout-ContainerLayout-method-runLayout'> runLayout: function(){
</span> var ct = this.container;
this.layout();
ct.onLayout();
delete ct.layoutPending;
},
<span id='Ext-layout-ContainerLayout-method-setContainer'> // private
</span> setContainer : function(ct){
/*
* This monitorResize flag will be renamed soon as to avoid confusion
* with the Container version which hooks onWindowResize to doLayout
*
* monitorResize flag in this context attaches the resize event between
* a container and it's layout
*/
if(this.monitorResize && ct != this.container){
var old = this.container;
if(old){
old.un(old.resizeEvent, this.onResize, this);
}
share/examples/image-organizer/imgorg/ImageDv.js view on Meta::CPAN
this.albumWin.show(this.currentNode);
},
tag: function() {
Imgorg.TagWin.selectedRecords = this.getSelectedRecords();
Imgorg.TagWin.show(this.currentNode);
},
syncRename: function(store, rec, op) {
if (op == 'edit') {
Imgorg.ss.Images.rename({image: rec.data.id, name: rec.data.filename, url: rec.data.url});
}
},
removeImages: function() {
var recs = this.getSelectedRecords();
var imageIds = [];
for (var i = 0;i < recs.length;i++) {
imageIds.push(recs[i].data.id);
this.store.remove(recs[i]);
}
share/examples/image-organizer/php/classes/Images.php view on Meta::CPAN
$db->queryExec('INSERT INTO Tags (text) VALUES ("'.$tag.'")');
$q = $db->query('SELECT id FROM Tags WHERE text = "'.$tag.'"');
$tag = $q->fetchObject()->id;
}
for ($i = 0;$i < sizeof($images);$i++) {
$db->queryExec('INSERT INTO Images_Tags (image_id, tag_id) VALUES ("'.$images[$i].'","'.$tag.'")');
}
return array('success' => true, 'images' => $images, 'tag' => $tag);
}
function rename($data) {
$db = new SQLiteDatabase("sql/imgorg.db");
$image = $data->image;
$name = $data->name;
$url = $data->url;
$urls = split('/',$url);
array_pop($urls);
$newUrl = (join('/',$urls)).'/'.$name;
$db->queryExec('UPDATE Images SET url = "'.$newUrl.'", filename = "'.$name.'" WHERE id = "'.$image.'"');
rename('../'.$url, '../'.$newUrl);
return array('image' => $image, 'name' => $name, 'url' => $newUrl);
}
function remove($data) {
$db = new SQLiteDatabase("sql/imgorg.db");
$images = $data->images;
for ($i = 0;$i < sizeof($images);$i++) {
$res = $db->query('SELECT url FROM Images where id ="'.$images[$i].'"');
$url = $res->fetchObject()->url;
share/examples/image-organizer/php/config.php view on Meta::CPAN
),
'upload' => array(
'len' => 1
),
'addToAlbum' => array(
'len' => 1
),
'tagImage' => array(
'len' => 1
),
'rename' => array(
'len' => 1
),
'remove' => array(
'len' => 1
),
'getInfo' => array(
'len' => 1
)
)
)
share/ext-all-debug-w-comments.js view on Meta::CPAN
runLayout: function(){
var ct = this.container;
this.layout();
ct.onLayout();
delete ct.layoutPending;
},
// private
setContainer : function(ct){
/*
* This monitorResize flag will be renamed soon as to avoid confusion
* with the Container version which hooks onWindowResize to doLayout
*
* monitorResize flag in this context attaches the resize event between
* a container and it's layout
*/
if(this.monitorResize && ct != this.container){
var old = this.container;
if(old){
old.un(old.resizeEvent, this.onResize, this);
}
share/pkgs/cmp-foundation-debug.js view on Meta::CPAN
runLayout: function(){
var ct = this.container;
this.layout();
ct.onLayout();
delete ct.layoutPending;
},
// private
setContainer : function(ct){
/*
* This monitorResize flag will be renamed soon as to avoid confusion
* with the Container version which hooks onWindowResize to doLayout
*
* monitorResize flag in this context attaches the resize event between
* a container and it's layout
*/
if(this.monitorResize && ct != this.container){
var old = this.container;
if(old){
old.un(old.resizeEvent, this.onResize, this);
}
share/src/widgets/layout/ContainerLayout.js view on Meta::CPAN
runLayout: function(){
var ct = this.container;
this.layout();
ct.onLayout();
delete ct.layoutPending;
},
// private
setContainer : function(ct){
/*
* This monitorResize flag will be renamed soon as to avoid confusion
* with the Container version which hooks onWindowResize to doLayout
*
* monitorResize flag in this context attaches the resize event between
* a container and it's layout
*/
if(this.monitorResize && ct != this.container){
var old = this.container;
if(old){
old.un(old.resizeEvent, this.onResize, this);
}
( run in 0.456 second using v1.01-cache-2.11-cpan-e9daa2b36ef )