tangra logo
   
[ class tree: tangra_lib ] [ index: tangra_lib ] [ all elements ]
 

Class: Just_Headers_View

Source Location: /web_site/web_page/just_headers_view.class.php

Class Just_Headers_View

Class Overview

Just_Headers_View is used to be returned by Web_Page instances when redirect is requested

Located in /web_site/web_page/just_headers_view.class.php [line 25]

Tangra_Class
   |
   --Web_Page_View
      |
      --Just_Headers_View

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Web_Page_View

Web_Page_View::$additional_csses
Web_Page_View::$additional_jses
Web_Page_View::$exports
Web_Page_View::$http_headers
Web_Page_View::$name
Web_Page_View::$page

Inherited From Web_Page_View

Web_Page_View::__construct()
Constructor
Web_Page_View::add_css()
Web_Page_View::add_exports()
Adds exports
Web_Page_View::add_http_header()
Adds HTTP header
Web_Page_View::add_js()
Web_Page_View::export()
Adds value key-value pair exports
Web_Page_View::fetch_content()
Returns page HTML
Web_Page_View::get_additional_csses()
Web_Page_View::get_additional_jses()
Web_Page_View::get_exported_value()
Returns value of exported pair.
Web_Page_View::get_http_headers()
Return HTTP headers
Web_Page_View::get_name()
Returns view name
Web_Page_View::get_page()
Returns page object
Web_Page_View::get__exports()
Returns exports object
Web_Page_View::init_exports()
Web_Page_View::set_exported_value()
Changes the value of exported pair.
Web_Page_View::set_exports()
Sets TPLE exports
Web_Page_View::set_name()
Sets name of the view
Web_Page_View::set_page()
Sets page object
Web_Page_View::show()
Shows page HTML

Inherited From Tangra_Class

Tangra_Class::get_class_name()
Alias of get_class(). Exist because of historical reasons.
Tangra_Class::__set()
Overides PHP built-in method and just throws exception if called. Purpose - to "forbid" autosetting of nonexisting class properties.

[ Top ]
Method Summary
Just_Headers_View   __construct()   Constructor
void   add_http_header()   Adds http header that will be sent
void   &fetch_content()   Empty method just for compliance with Web_Page_View declaration
unknown   get_http_headers()   Return headers array
void   set_exports()   Sets exports
void   show()   Sends header()

[ Top ]
Methods
Constructor __construct  [line 31]

  Just_Headers_View __construct( )

Constructor



Redefinition of:
Web_Page_View::__construct()
Constructor

[ Top ]
add_http_header  [line 71]

  void add_http_header( unknown_type $http_header  )

Adds http header that will be sent

Parameters:
unknown_type   $http_header: 

API Tags:
Access:  public


Redefinition of:
Web_Page_View::add_http_header()
Adds HTTP header

[ Top ]
fetch_content  [line 40]

  void &fetch_content( )

Empty method just for compliance with Web_Page_View declaration


API Tags:
Access:  public


Redefinition of:
Web_Page_View::fetch_content()
Returns page HTML

[ Top ]
get_http_headers  [line 81]

  unknown get_http_headers( )

Return headers array


API Tags:
Access:  public


Redefinition of:
Web_Page_View::get_http_headers()
Return HTTP headers

[ Top ]
set_exports  [line 61]

  void set_exports( $exports  )

Sets exports

Parameters:
TPLE_exports   $exports: 

API Tags:
Access:  public


Redefinition of:
Web_Page_View::set_exports()
Sets TPLE exports

[ Top ]
show  [line 49]

  void show( )

Sends header()



Redefinition of:
Web_Page_View::show()
Shows page HTML

[ Top ]