Ext_Users_Controller   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 13
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getUserAccountNav() 0 4 1
1
<?php
2
/**
3
 * Extension for Controller that provide methods such as member management
4
 * interface to templates
5
 *
6
 * @package Users
7
 * @author  i-lateral <[email protected]>
8
 */
9
class Ext_Users_Controller extends Extension
10
{
11
12
    /**
13
     * Render current user account nav
14
     *
15
     * @return string
16
     */
17
    public function getUserAccountNav()
18
    {
19
        return $this->owner->renderWith("Users_AccountNav");
20
    }
21
}
22