\Photo_model

photo_model

Summary

Methods
Properties
Constants
__construct()
__get()
getUserRow()
getThumb()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$table
N/A

Properties

$table

$table : 

Type

Methods

__construct()

__construct() : void

Class constructor

__get()

__get(string  $key) 

__get magic

Allows models to access CI's loaded classes using the same syntax as controllers.

Parameters

string $key

getUserRow()

getUserRow(  $userId) 

get one data

Parameters

$userId

getThumb()

getThumb(integer  $id) : mixed

get photo thumb

Parameters

integer $id

Returns

mixed