Commit 391cdfab authored by zYne's avatar zYne

doc blocks added

parent 2174bc99
......@@ -32,6 +32,11 @@
*/
class Doctrine_Search_File extends Doctrine_Search
{
/**
* constructor
*
* @param array $options an array of plugin options
*/
public function __construct(array $options = array())
{
parent::__construct($options);
......@@ -48,7 +53,12 @@ class Doctrine_Search_File extends Doctrine_Search
$this->buildPluginDefinition($table);
}
/**
* indexes given directory
*
* @param string $dir the name of the directory to index
* @return void
*/
public function indexDirectory($dir)
{
$it = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($dir),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment