Class TagAction

Description

<##>

  • version: $Id: TagAction.abstract.php,v 1.5 2007/09/19 14:04:57 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright &copy; 2005, Middlebury College
  • since: 11/7/06

Located in /polyphony/main/modules/tags/TagAction.abstract.php (line 25)

Action
   |
   --WizardAction
      |
      --MainWindowAction
         |
         --TagAction
Direct descendents
Class Description
allAction <##>
Method Summary
void average (mixed $array)
void buildContent ()
void deviation (mixed $array)
array getDefaultStyles ()
string getHeadingText ()
string getTagCloud (object Iterator $tags, [optional $viewAction = 'view'], [optional $styles = null], [mixed $additionalParams = null])
string getTagCloudDiv (object Iterator $tags, [optional $viewAction = 'view'], [optional $styles = null], [mixed $additionalParams = null])
string getTagCloudForItem (object TaggedItem $item, [optional $viewAction = 'view'], [optional $styles = null], [mixed $additionalParams = null])
string getTagCloudForRepository (object Repository $repository, mixed $system, [mixed $viewAction = 'viewRepository'], [mixed $styles = null])
string getTagMenu ()
object TagIterator getTags ()
Variables

Inherited Variables

Inherited from MainWindowAction

MainWindowAction::$_actionRows
Methods
average (line 393)

*******************************************************

From PHP.net: mightymrj at hotmail dot com 23-May-2006 12:52 Here's a couple functions I made that easily calculate the standard deviation. *******************************************************

void average (mixed $array)
buildContent (line 47)

Build the content for this action

  • since: 11/07/06
  • access: public
void buildContent ()

Redefinition of:
MainWindowAction::buildContent()
Build the content for this action.

Redefined in descendants as:
deviation (line 404)
void deviation (mixed $array)
getDefaultStyles (line 158)

Answer the default styles for the Tag cloud

  • static:
  • since: 11/15/06
  • access: public
array getDefaultStyles ()
getHeadingText (line 36)

Return the heading text for this action, or an empty string.

  • since: 11/07/06
  • access: public
string getHeadingText ()

Redefinition of:
Action::getHeadingText()
Return the heading text for this action, or an empty string.

Redefined in descendants as:
getTagCloud (line 77)

answer the tag cloud html

  • since: 11/7/06
  • access: public
string getTagCloud (object Iterator $tags, [optional $viewAction = 'view'], [optional $styles = null], [mixed $additionalParams = null])
  • object Iterator $tags
  • optional $viewAction: string $viewAction The action to use when clicking on a tag. Usually view or viewuser
  • optional $styles: array $styles An array of style-strings to use for various levels of of tag occurrances.
getTagCloudDiv (line 180)

Answer a div element with the tag cloud html

  • static:
  • since: 11/14/06
  • access: public
string getTagCloudDiv (object Iterator $tags, [optional $viewAction = 'view'], [optional $styles = null], [mixed $additionalParams = null])
  • object Iterator $tags
  • optional $viewAction: string $viewAction The action to use when clicking on a tag. Usually view or viewuser
  • optional $styles: array $styles An array of style-strings to use for various levels of of tag occurrances.
getTagCloudForItem (line 210)

Print the tag cloud and tagging link for an item

  • static:
  • since: 11/14/06
  • access: public
string getTagCloudForItem (object TaggedItem $item, [optional $viewAction = 'view'], [optional $styles = null], [mixed $additionalParams = null])
  • object TaggedItem $item
  • optional $viewAction: string $viewAction The action to use when clicking on a tag. Usually view or viewuser
  • optional $styles: array $styles An array of style-strings to use for various levels of of tag occurrances.
getTagCloudForRepository (line 264)

Answer the tag cloud for the assets in a repository

  • static:
  • since: 11/14/06
  • access: public
string getTagCloudForRepository (object Repository $repository, mixed $system, [mixed $viewAction = 'viewRepository'], [mixed $styles = null])
  • object Repository $repository
getTagMenu (line 301)

Answer a menu for the tagging system

  • since: 11/8/06
  • access: public
string getTagMenu ()
getTags (line 290)

Answer the tags

  • since: 11/8/06
  • access: public
object TagIterator getTags ()

Redefined in descendants as:

Inherited Methods

Inherited From MainWindowAction

MainWindowAction::buildContent()
MainWindowAction::execute()
MainWindowAction::getActionRows()

Inherited From WizardAction

WizardAction::cancelWizard()
WizardAction::cleanCacheName()
WizardAction::closeWizard()
WizardAction::createWizard()
WizardAction::getReturnUrl()
WizardAction::getWizard()
WizardAction::runWizard()
WizardAction::saveWizard()

Inherited From Action

Action::execute()
Action::getHeadingText()
Action::getUnauthorizedMessage()
Action::isAuthorizedToExecute()
Action::requestedAction()
Action::requestedModule()

Documentation generated on Wed, 19 Sep 2007 10:27:09 -0400 by phpDocumentor 1.3.0RC3