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

Class: Dot_Kernel

Source Location: /library/Dot/Kernel.php

Class Overview


Bunch of miscelaneous functions, used in all DotKernel Applications


Author(s):

Variables

Constants

Methods



Class Details

[line 20]
Bunch of miscelaneous functions, used in all DotKernel Applications

Bunch of miscelaneous functions, used in all DotKernel Applications




Tags:

author:  DotKernel Team <team@dotkernel.com>


[ Top ]


Class Variables

$config =

[line 26]

Configuration instance

Configuration instance




Tags:

access:  public

Type:   Zend_config


[ Top ]



Class Methods


static method getBrowserIcon [line 126]

static string getBrowserIcon( $agent, string $user)

Return the name of the browser icon based on User Agent

Return the name of the browser icon based on User Agent




Tags:

access:  public


Parameters:

string   $user  
   $agent  

[ Top ]

static method getOsIcon [line 146]

static array getOsIcon( $agent, string $user)

Return the name of the OS icon based on User Agent

Return the name of the OS icon based on User Agent




Tags:

access:  public


Parameters:

string   $user  
   $agent  

[ Top ]

static method getUserIp [line 85]

static string getUserIp( )

Return the user Ip , whatever the server are set

Return the user Ip , whatever the server are set




Tags:

access:  public


[ Top ]

static method timeFormat [line 190]

static string timeFormat( string $date, [string $format = 'short'])

Return date formatted fancy

Return date formatted fancy




Tags:

access:  public


Parameters:

string   $date  
string   $format   - 'short', 'long'

[ Top ]

static method validateFilter [line 215]

static array validateFilter( Zend_Validate $validator, array $values)

Process that validate and filter the input/output data.

Process that validate and filter the input/output data. Return valid and filtered data




Tags:

access:  public


Parameters:

Zend_Validate   $validator  
array   $values  

[ Top ]

constructor __construct [line 38]

Dot_Kernel __construct( )

Constructor

Constructor




Tags:

access:  public


[ Top ]

method pageNotFound [line 47]

bool pageNotFound( )

End the execution of the application, by sending an 404 header and redirecting to home page

End the execution of the application, by sending an 404 header and redirecting to home page




Tags:

access:  public


[ Top ]


Class Constants

VERSION =  '1.2.0'

[line 32]

Constant

Constant Dot Kernel version identification



[ Top ]



Documentation generated on Wed, 21 Jul 2010 07:34:41 +0000 by phpDocumentor 1.4.3