MediaSearch_Model
[ class tree: MediaSearch_Model ] [ index: MediaSearch_Model ] [ all elements ]

Class: MediaSearch_Model_KeyWord

Source Location: /models/KeyWord.php

Class Overview

MediaSearch_Model_Abstract
   |
   --MediaSearch_Model_KeyWord

This model class represents a single keyword with file meta ids to which files its associated..


Author(s):

Copyright:

  • Copyright (c) 2009 Sven Strittmatter

Methods


Inherited Methods

Class: MediaSearch_Model_Abstract

MediaSearch_Model_Abstract::__construct()
Can take a associatove array with initial values.
MediaSearch_Model_Abstract::count()
Counts how much objects are persistent available.
MediaSearch_Model_Abstract::fetchAll()
Fetches all objects and returns in an array.
MediaSearch_Model_Abstract::find()
Finds a object by the id and loads itself.
MediaSearch_Model_Abstract::getId()
Returns the unique id.
MediaSearch_Model_Abstract::getMapper()
Returns the database mappper obejct.
MediaSearch_Model_Abstract::save()
Save the model object persistent.
MediaSearch_Model_Abstract::setId()
Sets the unique id. This id need to be unique!
MediaSearch_Model_Abstract::setMapper()
Sets the database mappper obejct.
MediaSearch_Model_Abstract::setOptions()
Sets the object by an associative option array.
MediaSearch_Model_Abstract::__get()
Set interceptor to access model propertoes.
MediaSearch_Model_Abstract::__set()
Set interceptor to access model propertoes.

Class Details

[line 29]
This model class represents a single keyword with file meta ids to which files its associated..



Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter


[ Top ]


Class Methods


method findByKeyWords [line 97]

array findByKeyWords( $keywords)

Finds key word objects by their keyword. An array of keywords is expected.



Tags:

access:  public


Parameters:

array   $keywords  

[ Top ]

method getFileMetaIds [line 74]

string getFileMetaIds( )

Returns the file meta ids.



Tags:

access:  public


[ Top ]

method getKeyWord [line 52]

string getKeyWord( )

Returns the keywords as coma separated string.



Tags:

access:  public


[ Top ]

method setFileMetaIds [line 85]

MediaSearch_Model_KeyWord setFileMetaIds( string $string)

Sets the file meta ids. They are expected as coma seperated string.



Tags:

access:  public


Parameters:

string   $string  

[ Top ]

method setKeyWord [line 63]

MediaSearch_Model_KeyWord setKeyWord( string $string)

Sets the keyword.



Tags:

access:  public


Parameters:

string   $string  

[ Top ]


Documentation generated on Mon, 17 Aug 2009 14:53:22 +0200 by phpDocumentor 1.4.2