Class Laika_Abstract_Page

Description

Abstract Laika_Abstract_Page class.

  • abstract:
  • extends: Laika_Singleton

Located in /library/core/abstract/Abstract_Page.php (line 23)

Laika
   |
   --Laika_Singleton
      |
      --Laika_Abstract_Page
Direct descendents
Class Description
Laika_Error_Page Laika_Error_Page class.
Variable Summary
static mixed $access_group
static mixed $access_level
static mixed $instance
mixed $component
mixed $page
mixed $template
Method Summary
static void add_logic (mixed $file)
static void add_partial (string $partial)
static void add_style ()
static void img ()
static void link_to ()
static void paginate (mixed $class, mixed $limit,  $params,  $partial, [ $order = NULL], mixed $k, mixed $v)
static void path_to (string $path)
static void render (mixed $partial)
static void render_alert ()
static void render_component ()
static void render_foreach (mixed $partial,  $collection)
static void render_pagination ()
static void scripts ()
static void set_login_redirect ()
static void styles ()
static void __callStatic (string $name, mixed $arg)
string add_component (string $component)
string add_template (string $template)
void render_page ()
Variables
static mixed $access_group = 'USER' (line 31)
  • access: public
static mixed $access_level = 'PUBLIC' (line 30)
  • access: public
static mixed $instance (line 25)
  • access: private

Redefinition of:
Laika_Singleton::$instance
instance

Redefined in descendants as:
mixed $component (line 27)
  • access: private
mixed $page (line 28)
  • access: private
mixed $template (line 26)
  • access: private
Methods
static method add_logic (line 183)

add_logic function.

  • access: public
static void add_logic (mixed $file)
  • mixed $file
static method add_partial (line 165)

add_partial function.

  • access: public
static void add_partial (string $partial)
  • string $partial
static method add_style (line 283)

add_style function.

  • access: public
static void add_style ()
static method img (line 328)

img function.

  • access: public
static void img ()

Redefinition of:
Laika::img()
img function.
static method link_to (line 317)

link_to function.

Outputs a HTML link inside a anchor tag. View Superclass Laika::link_to method for usage.

  • access: public
static void link_to ()

Redefinition of:
Laika::link_to()
link_to function.
static method paginate (line 343)

paginate function.

  • access: public
static void paginate (mixed $class, mixed $limit,  $params,  $partial, [ $order = NULL], mixed $k, mixed $v)
  • mixed $class
  • mixed $limit
  • mixed $k
  • mixed $v
  • $params
  • $partial
  • $order
static method path_to (line 303)

path function.

Outputs url.

  • access: public
static void path_to (string $path)
  • string $path
static method render (line 126)

render function.

renders a view partial parameters passed into the method can be accessed from the called partial by the "$parameter" variable.

  • access: public
static void render (mixed $partial)
  • mixed $partial
static method render_alert (line 103)

render_alert function.

  • access: public
static void render_alert ()
static method render_component (line 91)

render_component function.

  • access: public
static void render_component ()
static method render_foreach (line 150)

render_foreach function.

renders a view partial for each object in a collection

  • access: public
static void render_foreach (mixed $partial,  $collection)
  • mixed $partial
  • $collection
static method render_pagination (line 357)
  • access: public
static void render_pagination ()
static method scripts (line 234)

scripts function.

Outputs javascript src includes constructed from parameters

  • access: public
static void scripts ()
static method set_login_redirect (line 361)
  • access: public
static void set_login_redirect ()
static method styles (line 261)

styles function.

Outputs stylesheet includes constructed from parameters

  • access: public
static void styles ()
static method __callStatic (line 46)

__callStatic function.

If method name includes 'render_' it will render a partial Otherwise it will echo a proprerty.

  • access: public
static void __callStatic (string $name, mixed $arg)
  • string $name
  • mixed $arg
add_component (line 194)

add_component function.

  • access: public
string add_component (string $component)
  • string $component

Redefined in descendants as:
add_template (line 212)

add_template function.

  • access: public
string add_template (string $template)
  • string $template
render_page (line 64)

render_page function.

  • access: public
void render_page ()

Inherited Methods

Inherited From Laika_Singleton

Laika_Singleton::__construct()
Laika_Singleton::from_array()
Laika_Singleton::get()
Laika_Singleton::init()
Laika_Singleton::serialize_me()
Laika_Singleton::set()
Laika_Singleton::switch_instance()
Laika_Singleton::to_array()
Laika_Singleton::unserialize_me()
Laika_Singleton::__call()
Laika_Singleton::__clone()

Inherited From Laika

Laika::__construct()
Laika::from_array()
Laika::img()
Laika::link_to()
Laika::pop_assoc()
Laika::pop_index()
Laika::redirect_to()
Laika::reflect()
Laika::release()
Laika::to_array()
Laika::version()
Laika::__call()
Laika::__get()
Laika::__set()
Class Constants

Inherited Constants

Inherited from Laika

Laika::LAIKA_RELEASE
Laika::LAIKA_VERSION

Documentation generated on Sat, 19 May 2012 02:16:54 -0400 by phpDocumentor 1.4.4