PHP Class MetaActionSearch_Articles

Inheritance: extends MetaAction
Mostra file Open project: sourcefabric/newscoop

Public Methods

Method Description
__construct ( array $p_input ) Reads the input parameters and sets up the articles search action.
__get ( string $p_property ) : mixed Returns the value of the given property; throws InvalidPropertyHandlerException if the property didn't exist.
takeAction ( CampContext &$p_context ) : boolean Performs the action; returns true on success, false on error.

Method Details

__construct() public method

Reads the input parameters and sets up the articles search action.
public __construct ( array $p_input )
$p_input array

__get() public method

Returns the value of the given property; throws InvalidPropertyHandlerException if the property didn't exist.
public __get ( string $p_property ) : mixed
$p_property string
return mixed

takeAction() public method

Performs the action; returns true on success, false on error.
public takeAction ( CampContext &$p_context ) : boolean
$p_context CampContext - the current context object
return boolean