Public Member Functions | Data Fields

ParagraphPlugin Class Reference

Public Member Functions

 ParagraphPlugin ($directory, $title, $filetype, $link)
 serializeToString ()
 setTitle ($title)
 setLink ($link)
 setImage ($image)
 setFileType ($filetype)
 getTitle ()
 getPluginDir ()
 getTemplateDir ()
 getClassDir ()
 getResourceDir ()
 getResourceURL ()
 getPluginURL ()

Data Fields

 $properties
 $directory

Detailed Description

Definition at line 89 of file class.ilParagraphPlugin.php.


Member Function Documentation

ParagraphPlugin::getClassDir (  ) 

Definition at line 133 of file class.ilParagraphPlugin.php.

References getPluginDir().

                                {
                return $this->getPluginDir()."/classes";        
        }

Here is the call graph for this function:

ParagraphPlugin::getPluginDir (  ) 

Definition at line 125 of file class.ilParagraphPlugin.php.

Referenced by getClassDir(), getResourceDir(), and getTemplateDir().

                                 {
                return ILIAS_ABSOLUTE_PATH."/content/plugins"."/".$this->directory;
        }

Here is the caller graph for this function:

ParagraphPlugin::getPluginURL (  ) 

Definition at line 146 of file class.ilParagraphPlugin.php.

Referenced by setLink().

                                 {
                return ILIAS_HTTP_PATH."/content/plugins/".$this->directory;    
        }

Here is the caller graph for this function:

ParagraphPlugin::getResourceDir (  ) 

Definition at line 138 of file class.ilParagraphPlugin.php.

References getPluginDir().

                                   {
                return $this->getPluginDir()."/resources";      
        }

Here is the call graph for this function:

ParagraphPlugin::getResourceURL (  ) 

Definition at line 142 of file class.ilParagraphPlugin.php.

Referenced by setImage().

                                   {
                return ILIAS_HTTP_PATH."/content/plugins/".$this->directory."/resources";       
        }

Here is the caller graph for this function:

ParagraphPlugin::getTemplateDir (  ) 

Definition at line 129 of file class.ilParagraphPlugin.php.

References getPluginDir().

                                   {
                return $this->getPluginDir()."/templates";      
        }

Here is the call graph for this function:

ParagraphPlugin::getTitle (  ) 

Definition at line 121 of file class.ilParagraphPlugin.php.

                             {
                return $this->properties["title"];
        }

ParagraphPlugin::ParagraphPlugin ( directory,
title,
filetype,
link 
)

Definition at line 93 of file class.ilParagraphPlugin.php.

References $directory, $title, setFileType(), setLink(), and setTitle().

                                                                        {
                $this->directory = $directory;
                $this->properties = array ("filetype" => "", "title" => "", "link" => "");
                $this->setTitle($title);
                $this->setFileType($filetype);
                $this->setLink ($link);         
        }

Here is the call graph for this function:

ParagraphPlugin::serializeToString (  ) 

Definition at line 101 of file class.ilParagraphPlugin.php.

                                     {          
                return implode("#",$this->properties);
        }

ParagraphPlugin::setFileType ( filetype  ) 

Definition at line 117 of file class.ilParagraphPlugin.php.

Referenced by ParagraphPlugin().

                                         {
                $this->properties["filetype"] = $filetype;
        }       

Here is the caller graph for this function:

ParagraphPlugin::setImage ( image  ) 

Definition at line 113 of file class.ilParagraphPlugin.php.

References getResourceURL().

                                   {
                $this->properties["image"] = $this->getResourceURL()."/".$image;
        }

Here is the call graph for this function:

ParagraphPlugin::setLink ( link  ) 

Definition at line 109 of file class.ilParagraphPlugin.php.

References getPluginURL().

Referenced by ParagraphPlugin().

                                 {
                $this->properties["link"] = $this->getPluginURL()."/".$link;
        }

Here is the call graph for this function:

Here is the caller graph for this function:

ParagraphPlugin::setTitle ( title  ) 

Definition at line 105 of file class.ilParagraphPlugin.php.

References $title.

Referenced by ParagraphPlugin().

                                   {
                $this->properties["title"] = $title;
        }

Here is the caller graph for this function:


Field Documentation

ParagraphPlugin::$directory

Definition at line 91 of file class.ilParagraphPlugin.php.

Referenced by ParagraphPlugin().

ParagraphPlugin::$properties

Definition at line 90 of file class.ilParagraphPlugin.php.


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