Dotclear  2.29
 All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ModuleImportFeed Class Reference

The feed import module handler. More...

Inheritance diagram for ModuleImportFeed:
[legend]
Collaboration diagram for ModuleImportFeed:
[legend]

Public Member Functions

 setInfo ()
 
 process (string $do)
 
 gui ()
 
- Public Member Functions inherited from Module
 __construct ()
 
 init ()
 
 getURL (bool $escape=false)
 
 process (string $do)
 
 gui ()
 

Protected Attributes

 $status = false
 
 $feed_url = ''
 
- Protected Attributes inherited from Module
string $import_url
 
string $export_url
 
string $url
 

Private Member Functions

 gethostbyname6 (string $host, bool $try_a=false)
 
 gethostbynamel6 (string $host, bool $try_a=false)
 

Additional Inherited Members

- Data Fields inherited from Module
string $type
 
string $id
 
string $name
 
string $description
 
- Protected Member Functions inherited from Module
 setInfo ()
 
 progressBar (float $percent)
 
 autoSubmit ()
 
 congratMessage ()
 

Detailed Description

The feed import module handler.

Member Function Documentation

gethostbyname6 ( string  $host,
bool  $try_a = false 
)
private

Get AAAA record for $host.

If $try_a is true, if AAAA fails, it tries for A The first match found is returned otherwise returns false

IPv6 functions (from https://gist.github.com/tbaschak/7866688)

Parameters
string$hostThe host
bool$try_aThe try a
Returns
false|string

References ModuleImportFeed\gethostbynamel6().

Referenced by ModuleImportFeed\process().

Here is the call graph for this function:

Here is the caller graph for this function:

gethostbynamel6 ( string  $host,
bool  $try_a = false 
)
private

Get AAAA records for $host.

If $try_a is true, if AAAA fails, it tries for A Results are returned in an array of ips found matching type otherwise returns false

Parameters
string$hostThe host
bool$try_aThe try a
Returns
array<mixed>|false

Referenced by ModuleImportFeed\gethostbyname6().

Here is the caller graph for this function:

setInfo ( )
process ( string  $do)

References Core\auth(), Core\blog(), Html\clean(), Core\con(), Text\cutString(), ModuleImportFeed\gethostbyname6(), Module\getURL(), Core\meta(), Reader\quickParse(), Http\redirect(), and Date\strftime().

Here is the call graph for this function:

gui ( )

References Core\blog(), Html\escapeHTML(), Module\getURL(), form\hidden(), Core\nonce(), Notices\success(), and form\url().

Here is the call graph for this function:

Field Documentation

bool $status = false
protected

Current status.

string $feed_url = ''
protected

Feed URL.


The documentation for this class was generated from the following file: