Class MetadataElement

Description

Bean class MetadataElement holds all necessary information for data representation on the page. Metadata class uses this bean to distribute data into application.

  • since: 2.4
  • version: 1.0
  • author: Lev Levin

Located in /Core/Metadata.php (line 23)


	
			
Method Summary
MetadataElement MetadataElement (string $name, string $title, string $link, string $desc, Image $image)
string getDesc ()
string getLink ()
string getName ()
string getTitle ()
void setDesc (string $desc)
void setImage (Image $image)
void setLink (string $link)
void setName (string $name)
void setTitle (string $title)
Methods
Constructor MetadataElement (line 39)

Constructs new metadata element. Sets all properties.

  • access: public
MetadataElement MetadataElement (string $name, string $title, string $link, string $desc, Image $image)
  • string $name: Internal identificator of the data
  • string $title: Text representation of the data
  • string $link: URL if this element represents link to some resource
  • string $desc: Longer text, describing this data element
  • Image $image: Image associated with data element
getDesc (line 123)

Returns longer text, describing this data element.

  • return: Longer text, describing this data element
  • access: public
string getDesc ()
getImage (line 91)

Returns image associated with data element.

  • return: Image associated with data element
  • access: public
Image getImage ()
getLink (line 107)

Returns URL if this element represents link to some resource.

  • return: URL if this element represents link to some resource
  • access: public
string getLink ()
getName (line 59)

Returns internal identificator of the data.

  • return: internal identificator of the data
  • access: public
string getName ()
getTitle (line 75)

Returns text representation of the data element.

  • return: Text representation of the data
  • access: public
string getTitle ()
setDesc (line 115)

Sets longer text, describing this data element.

  • access: public
void setDesc (string $desc)
  • string $desc: Longer text, describing this data element
setImage (line 83)

Sets image associated with data element.

  • access: public
void setImage (Image $image)
  • Image $image: Image associated with data element
setLink (line 99)

Sets URL if this element represents link to some resource.

  • access: public
void setLink (string $link)
  • string $link: URL if this element represents link to some resource
setName (line 51)

Sets internal identificator of the data.

  • access: public
void setName (string $name)
  • string $name: Internal identificator of the data
setTitle (line 67)

Sets text representation of the data element.

  • access: public
void setTitle (string $title)
  • string $title: Text representation of the data

Documentation generated on Mon, 11 Dec 2006 22:42:38 +0300 by phpDocumentor 1.3.0