I would like to know what methods the object {$feu_smarty} has. I have tried:
Code: Select all
{dump item=feu_smarty}
Code: Select all
Dump of: $feu_smarty (NULL)
Thank you,
Sonya
Code: Select all
{dump item=feu_smarty}
Code: Select all
Dump of: $feu_smarty (NULL)
Thank you. I have already found itJeremyBASS wrote: you can find them in class.feu_smarty.php
Yes. Create new UDT with:aleksanderlech wrote: Did you find any solution for getting object's methods and properties?
Code: Select all
$class = get_class($params['object']);
echo '<h3>Class: '.$class.'</h3>';
$properties = get_class_vars($class);
foreach ($properties as $key => $value) {
echo "<i>Property: ".$key. ' : '.$value.'</i><br>';
}
$methods = get_class_methods($params['object']);
for ($k=0; $k < sizeof($methods); $k++) {
echo "Method: ".$methods[$k]. '<br>';
}
Code: Select all
{class_info object=$gCms}