CAFPE Docs
  • Class

Classes

  • Article_model
  • Articles
  • Auth
  • Auth_controller
  • Bcrypt
  • Hierarchical_controllers
  • Ion_auth
  • Ion_auth_model
  • MY_Controller
  • MY_Lang
  • MY_Model
  • Pages
  • Private_pages
  • Public_controller
  • Seeder
  • Slug
  • User_sessions
  • Users

Functions

  • action_result
  • actions_widget
  • admin_area_buttons
  • base64_current_url_encode
  • base64_url_decode
  • base64_url_encode
  • current_lang
  • jscript_tag
  • lang_switcher
  • logged_in
  • redirect_lang
  • site_url_lang
  • style_tag

Class MY_Controller

CI_Controller
Extended by MY_Controller

Direct known subclasses

Auth_controller, Public_controller

Indirect known subclasses

Articles, Pages, Private_pages, User_sessions, Users

Located at MY_Controller.php

Methods summary

public
# __construct( $template )
public
# render( string $view, boolean $return = false )

Renders passed view

Renders passed view

Parameters

$view
view name
$return
render image directly or return as string
public
# _output( string $output )

Override _ouput Ouput class method to allow implicit view rendering

Override _ouput Ouput class method to allow implicit view rendering

Parameters

$output
public boolean
# status( string $class, string $redirect = false , $custom_message = '' )

Saves controller action status, if it has not been set before

Saves controller action status, if it has not been set before

Parameters

$class
$action Name of performed action (create, edit, delete...)
$redirect
$class ok or error
$custom_message

Returns

boolean

Properties summary

protected array $data

Data that wil be passed to views

Data that wil be passed to views

# array()
protected $default_view
#
public array $status
# []
CAFPE Docs API documentation generated by ApiGen