Get params value from component Joomla 3.0

Posted by yogeshK on Stack Overflow See other posts from Stack Overflow or by yogeshK
Published on 2012-11-02T04:20:24Z Indexed on 2012/11/02 5:00 UTC
Read the original article Hit count: 123

Filed under:
|
|

I have saved value like this in my component table fields params.

unique=1
default_value=Default
validate=Validate
validate_error_msg=Validate error messag
searchable=1

Now i want to get value in my component.So I am passing values in my component's view.html.php in this way $params = new JForm($row->params); but its not working. Now I want to get value so I am taking like this

$this->params->getValue('default_value');

But its not work where as in Joomla 2.5 ,we can get value like this

$this->params->get('default_value');

© Stack Overflow or respective owner

Related posts about joomla

Related posts about joomla1.5