* [misc] add save config method in spider script.
This commit is contained in:
@@ -147,3 +147,16 @@ function filter($linkList, $type = '')
|
||||
|
||||
return $links;
|
||||
}
|
||||
|
||||
/**
|
||||
* Save links to config file.
|
||||
*
|
||||
* @param object $object
|
||||
* @param string $name
|
||||
* @param string $fileName
|
||||
* @access public
|
||||
* @return mixed
|
||||
*/
|
||||
function saveToConfig($object, $name = 'config', $fileName = 'result.php')
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user