CMS  Version 3.9
ScrollPart Class Reference

Inherits DataItem.

Public Member Functions

 Scroll ()
 
 BackgroundImage ()
 

Public Attributes

 $table = "scroll_part"
 
 $primary_key = "scroll_part_id"
 
 $fields
 
 $relations
 
 $versioned_fields = array("title", "content", "php_code_file", "css_class", "styles", "image_id")
 
 $fieldAliases
 

Detailed Description

Definition at line 7 of file scroll_part.inc.

Member Function Documentation

◆ BackgroundImage()

ScrollPart::BackgroundImage ( )

Definition at line 38 of file scroll_part.inc.

39  {
40  return $this->getRelated(ImageRecord);
41  }

◆ Scroll()

ScrollPart::Scroll ( )

Definition at line 33 of file scroll_part.inc.

34  {
35  return $this->getRelated(Scroll);
36  }
Definition: scroll.inc:8

Member Data Documentation

◆ $fieldAliases

ScrollPart::$fieldAliases
Initial value:
= array( "css_class" => "CSS Class",
"styles" => "Inline CSS Styles",
"image_id" => "Background Image")

Definition at line 30 of file scroll_part.inc.

◆ $fields

ScrollPart::$fields
Initial value:
= array("scroll_part_id" => Number,
"scroll_id" => Number,
"title" => String,
"content_type" => String,
"content" => HTML,
"php_code_file" => String,
"css_class" => String,
"styles" => String,
"image_id" => Image,
"sort_order" => Number)

Definition at line 12 of file scroll_part.inc.

◆ $primary_key

ScrollPart::$primary_key = "scroll_part_id"

Definition at line 10 of file scroll_part.inc.

◆ $relations

ScrollPart::$relations
Initial value:
= array( "Scroll" => Scroll,
"BackgroundImage" => ImageRecord
)

Definition at line 23 of file scroll_part.inc.

◆ $table

ScrollPart::$table = "scroll_part"

Definition at line 9 of file scroll_part.inc.

◆ $versioned_fields

ScrollPart::$versioned_fields = array("title", "content", "php_code_file", "css_class", "styles", "image_id")

Definition at line 27 of file scroll_part.inc.


The documentation for this class was generated from the following file: