public function getValue()
    {
        $total = 0;

        foreach ($this->values as $value) {
            $total = $total + $value;
        }

        return $total;
    }
public function getValue()
    {
        $total = 0;

        foreach ($this->values as $value) {
            $total = $total + $value;
        }

        return $total;
    }
public function getValue ( ) { $ total = 0 ; foreach ( $ this -> values as $ value ) { $ total = $ total + $ value ; } return $ total ; }
Returns the complete account control value.

@return int
Returns the complete account control value .