QVCI Library 3.2
 All Classes Namespaces Functions
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Qvc_content Class Reference
Inheritance diagram for Qvc_content:
Qvc_controller

Public Member Functions

 index ()
 
 add ()
 
 edit ($content_id=0)
 
 list_content ()
 
- Public Member Functions inherited from Qvc_controller
 __construct ()
 
 index ()
 
 _remap ($method, $params=[])
 
 _get_controller_path ()
 
 _required_not_zero ($val)
 

Public Attributes

 $_access
 
- Public Attributes inherited from Qvc_controller
 $_access
 

Protected Member Functions

 log_404_errors ()
 
 report_404_errors ()
 

Detailed Description

Implements the qvci/qvc_content controller, which should be extended by the application. NOTE: This is actually defined as the "404 override" controller (see config/routes.php)

Member Function Documentation

Qvc_content::add ( )

Add new content

Qvc_content::edit (   $content_id = 0)

Edit content

Parameters
int$content_id(for GET method only)
Qvc_content::index ( )

Index page (home)

Qvc_content::list_content ( )

List site content

Qvc_content::log_404_errors ( )
protected

Write 404 errors to an application log file.

Qvc_content::report_404_errors ( )
protected

Report 404 errors to a monitoring service. The application class should provide this functionality.

Member Data Documentation

Qvc_content::$_access
Initial value:
= [
'*' => 'public_perm'

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