0
1
Fork 0
hedera-web-mindshore/web/js/sql/holder.js

26 lines
314 B
JavaScript

/**
* A holder for another object.
**/
Sql.Holder = new Class
({
Extends: Sql.Object
,Properties:
{
id:
{
type: String
,value: null
}
}
,render: function (batch)
{
var object;
if (batch && (object = batch.get (this.id)))
return object.render (batch);
return '#'+ this.id;
}
});