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
class DifferenceDatabaseFactory implements FactoryInterface { | |
public createService(ServiceManager $sm) { | |
$tableman = $sm->get('tableManager'); | |
$table = $tableman->get('differencetable'); | |
$diffdb = new DifferenceDatabase($table); | |
return $diffdb; | |
} | |
} |
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
define(["dojo/_base/declare", "dojo/_base/lang", "gmk/library/utilities/string"], | |
function(declare, lang, strUtil){ | |
return declare([ ], { | |
get: function(varName) { | |
var retVal = null; | |
if ( "function" == typeof lang.getObject("get"+strUtil.ucfirst(varName), false, this) ) { | |
retVal = lang.getObject("get"+strUtil.ucfirst(varName), false, this)(); | |
} else { | |
retVal = lang.getObject(varName, false, this); | |
} |
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
[gabriel@RedDwarf ZendSkeletonApplication]$ git reset --hard zsa/master | |
HEAD is now at a6cb03e Merge pull request #124 from wshafer/master | |
[gabriel@RedDwarf ZendSkeletonApplication]$ git push origin | |
Everything up-to-date | |
[gabriel@RedDwarf ZendSkeletonApplication]$ |
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
define(["dojo/_base/declare", "dojo/_base/lang", "dojo/dom-construct", "dijit/_WidgetBase"], | |
function(declare, lang, domConstruct, _WidgetBase){ | |
return declare("Fieldset", [_WidgetBase], { | |
container: null, | |
legend: '', | |
fieldsetTag: 'fieldset', | |
legendTag: 'legend', | |
buildRendering: function(){ | |
this.domNode = domConstruct.create(this.fieldsetTag, {id: this.id}); | |
domConstruct.create(this.legendTag, {'innerHTML': this.legend}, this.domNode); |
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
var container = domConstruct.create("div", {'id':'TreeEditContainer'}, win.body()); | |
var form = new Form().placeAt(container); | |
var langSelect = new Select({ | |
name: "LanguageSelect", | |
options: [ | |
{ label: "en_gb", value: "en_gb" } | |
] | |
}); | |
var label = new Label({'widget':langSelect,'container':form, 'label':'Some label'}); | |
label.makelabel(); |
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
//object | |
namespace something | |
{ | |
public class SomeObj | |
{ | |
public string SomeStr; | |
} | |
} | |
//view with a form that posts to SomePostedAction |
NewerOlder