HTML and CSS Reference
In-Depth Information
/**
* Getters and setters
*/
this.init = function(){
/**
* Set the instance variables using the constructor's arguments
*/
this.setTitle(title);
this.setRtid(rtid);
this.setPosterframe(posterframe);
this.setSynopsis(synopsis);
}
/**
* Returns the movie title
* @return {String}
*/
this.getTitle = function(){
return _title;
}
/**
* Sets the movie title
* @param {String} title
*/
this.setTitle = function(title){
_title = title;
}
/**
* Returns the Rotten Tomatoes reference ID
* @return {String}
*/
this.getRtid = function(){
return _rtid;
}
/**
* Sets the Rotten Tomatoes reference ID
* @param {String} rtid
*/
this.setRtid = function(rtid){
_rtid = rtid;
}
/**
* Gets the posterframe URL/Path
* @return {String}
*/
Search WWH ::




Custom Search