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

Class: MediaSearch_Model_FileMeta

Source Location: /models/FileMeta.php

Class Overview

MediaSearch_Model_Abstract
   |
   --MediaSearch_Model_FileMeta

This model class represents a single file with its metadata.


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 28]
This model class represents a single file with its metadata.



Tags:

copyright:  Copyright (c) 2009 Sven Strittmatter
usedby:  ScannerApplication
usedby:  IndexerApplication


[ Top ]


Class Methods


method findByIdAndTypes [line 270]

array findByIdAndTypes( $primaryKeys, [ $types = null])

Finds data objects by an array of ids and optional types.



Tags:

access:  public


Parameters:

array   $primaryKeys  
array   $types  

[ Top ]

method getCreationDate [line 202]

int getCreationDate( )

Returns the creation date.



Tags:

access:  public


[ Top ]

method getFileName [line 114]

string getFileName( )

Returns the file name.



Tags:

access:  public


[ Top ]

method getFilePath [line 136]

string getFilePath( )

Returns the file path.



Tags:

access:  public


[ Top ]

method getFileSize [line 158]

int getFileSize( )

Returns the file size in bytes.



Tags:

access:  public


[ Top ]

method getFileType [line 92]

int getFileType( )

Returns the file type.



Tags:

access:  public


[ Top ]

method getKeyWords [line 224]

string getKeyWords( )

Returns the keywords.



Tags:

access:  public


[ Top ]

method getLastUpdate [line 246]

int getLastUpdate( )

Returns the last update date.



Tags:

access:  public


[ Top ]

method getModificationDate [line 180]

int getModificationDate( )

Returns the modification date.



Tags:

access:  public


[ Top ]

method setCreationDate [line 213]

MediaSearch_Model_FileMeta setCreationDate( int $ts)

Sets the creation date.



Tags:

access:  public


Parameters:

int   $ts  

[ Top ]

method setFileName [line 125]

MediaSearch_Model_FileMeta setFileName( string $string)

Sets the file name.



Tags:

access:  public


Parameters:

string   $string  

[ Top ]

method setFilePath [line 147]

MediaSearch_Model_FileMeta setFilePath( string $string)

Sets the file path.



Tags:

access:  public


Parameters:

string   $string  

[ Top ]

method setFileSize [line 169]

MediaSearch_Model_FileMeta setFileSize( int $int)

Sets the file size in bytes.



Tags:

access:  public


Parameters:

int   $int  

[ Top ]

method setFileType [line 103]

MediaSearch_Model_FileMeta setFileType( int $int)

Sets the file type.



Tags:

access:  public


Parameters:

int   $int  

[ Top ]

method setKeyWords [line 235]

MediaSearch_Model_FileMeta setKeyWords( string $string)

Sets the keywords. They are expected as coma seperated list.



Tags:

access:  public


Parameters:

string   $string  

[ Top ]

method setLastUpdate [line 257]

MediaSearch_Model_FileMeta setLastUpdate( int $ts)

Sets the last updqate time.



Tags:

access:  public


Parameters:

int   $ts  

[ Top ]

method setModificationDate [line 191]

MediaSearch_Model_FileMeta setModificationDate( int $ts)

Sets the modofication date.



Tags:

access:  public


Parameters:

int   $ts  

[ Top ]


Documentation generated on Mon, 17 Aug 2009 14:52:48 +0200 by phpDocumentor 1.4.2