Class Projects - echiong/testRepo GitHub Wiki

##Class Projects

Project class handles project related type operations.

Package: [[application<a href="Package application.controlllers.md">controlllers]]
Extends: Framework_controller
Located at application/controllers/projects.php

##Methods summary


public create ( )

Displays the project create page.


public string a_create ( )

Handles the project create form submission.

Returns string
Returns project record id created on success or an error message on failure.


public linkpage ( )

Creates or updates a user's facebook page.


public get_list ( integer $offset = 0, integer $limit = 100 )

Displays all the existing projects.

Parameters

$offset integer
$offset A numeric offset value

$limit integer
$limit A numeric limit value


public details ( integer $id, string $view = 'details' )

Displays a specific Project record.

Parameters

$id integer
Project record id.

$view string
View to display (either 'details' by default, or 'edit')


public string connect ( )

Handles the facebook connect function.

Returns string
Returns an html confirmation display


public newpage ( )

Not sure if what this tries to accomplish.

⚠️ **GitHub.com Fallback** ⚠️