mn8 Language Reference | Index    

IMDBWrapper:Movie

SUMMARY: ATTRIBUTES SUMMARY  ELEMENTS SUMMARY  NO CONSTRUCTORS  NO OPERATORS  METHODS SUMMARYDETAIL: ATTRIBUTE DETAILS  ELEMENT DETAILS  NO CONSTRUCTORS  NO OPERATORS  METHOD DETAILS

Description

Movie - Wrapper concept for the Internet Movie Data Base .

Usage

Getting a movie related information.

        $movie = IMDBWrapper:Movie.getMovie("Runaway Bride (1999)")
        print $movie.toXML        
        ------ The result is ------
        <movie date="1999" photo.link="http://images.amazon.com/images/P/6305695288.01.MZZZZZZZ.jpg" title="Runaway Bride">
        <summary> Tastes like leftovers&lt;/P&gt;
        &lt;BLOCKQUOTE&gt;&lt;P&gt;
        This could have been a great movie.  It should have been a great movie.  I
        wanted it to be a great movie.  It was a pretty good movie, but it wasn&#39;t a
        great movie.&lt;BR&gt;&lt;BR&gt;
        ... there is more ...
        </summary>
        <cast>
        <actor actorName="Julia Roberts" characterName="Maggie Carpenter "></actor>
        <actor actorName="Richard Gere" characterName="Ike Graham "></actor>
        <actor actorName="Joan Cusack" characterName="Peggy Flemming "></actor>
        <actor actorName="Hector Elizondo" characterName="Fisher "></actor>
        <actor actorName="Rita Wilson" characterName="Ellie Graham "></actor>
        <actor actorName="Paul Dooley" characterName="Walter Carpenter "></actor>
        <actor actorName="Christopher Meloni" characterName="Coach Bob Kelly "></actor>
        <actor actorName="Donal Logue" characterName="Priest Brian "></actor>
        <actor actorName="Reg Rogers" characterName="George Bug Guy "></actor>
        <actor actorName="Yul Vazquez" characterName="Dead Head Gill "></actor>
        <actor actorName="Jane Morris" characterName="Mrs. Pressman "></actor>
        <actor actorName="Lisa Roberts (I)" characterName="Elaine From Manhattan "></actor>
        <actor actorName="Kathleen Marshall (I)" characterName="Cousin Cindy "></actor>
        <actor actorName="Jean Schertler" characterName="Grandma "></actor>
        <actor actorName="Tom Hines" characterName="Cory Flemming "></actor>
        </cast>
        </movie>
        
Version: 0.1
Authors:Szabolcs Borsos ()
Location:
Inherits: Concept

Attribute List

 @date TYPEOF String LABEL "date"
 @photoLnk TYPEOF String LABEL "photo.link"
 @title TYPEOF String LABEL "title"
top

Element List

 summary TYPEOF Element LABEL "summary"
 cast TYPEOF IMDBWrapper:Movie:cast LABEL "cast"
top

Method List

static IMDBWrapper:MoviegetMovie (String $title)
top
Methods inherited from: Concept
cloneConcept, extendsConcept, fromXML, getAllInheritedConcepts, getConceptAttribute, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptElementFields, getConceptElements, getConceptLabel, getConceptMethod, getConceptMethods, getConceptOperators, getConceptType, getErrorHandler, getInheritedConcepts, getResourceURI, hasConceptAttribute, hasConceptElement, hasConceptMethod, hasPath, isHidden, loadContent, setConceptLabel, setErrorHandler, setHidden, setShowEmpty, showEmpty, toTXT, toXML, setResourceURI

Detailed Attribute Info

@date

Label:date
Type:String
Is Static:false
Is Hidden:false
Show Empty:false

top

@photoLnk

Label:photo.link
Type:String
Is Static:false
Is Hidden:false
Show Empty:false

top

@title

Label:title
Type:String
Is Static:false
Is Hidden:false
Show Empty:false

top

Detailed Element Info

summary

Label:summary
Type:Element
Is Static:false
Is Hidden:false
Is Multi:false
Show Empty:true

top

cast

Label:cast
Type:IMDBWrapper:Movie:cast
Is Static:false
Is Hidden:false
Is Multi:false
Show Empty:true

top

Detailed Method Info

static getMovie (String $title)
Parameters:
$title :The title of the movie, must be exact.
Returns: IMDBWrapper:Movie

Return the requeste movie related information.

top