PDOCrud Table Data Formatting

  
                                $pdocrud = new PDOCrud();  
                                $pdocrud->tableColFormatting("product_name", "string",array("type" =>"uppercase"));
                                $pdocrud->tableColFormatting("product_description", "string",array("type" =>"lowercase"));
                                $pdocrud->tableColFormatting("product_image", "image");
                                $pdocrud->tableColFormatting("product_description", "readmore", array("length"=>4,"showreadmore"=>true));//not showing read more 
                                $pdocrud->tableColFormatting("product_rating", "html",array("type" =>"html","str"=>"{col-name}"));
                                $pdocrud->tableColFormatting("discount", "formula",array("type" =>"percentage"));
                                $pdocrud->tableColFormatting("qyt_available", "formula",array("type" =>"number_format","decimalpoint"=>2));
                                $pdocrud->tableColAddition("Total", "sum",array("product_price","product_sell_price"));
                                $pdocrud->tableColFormatting("qyt_available", "formula",array("type" =>"round","decimalpoint"=>2));
                                $pdocrud->tableColFormatting("product_price", "formula",array("type" =>"ceil"));
                                $pdocrud->tableColFormatting("product_sell_price", "formula",array("type" =>"floor"));
                                $pdocrud->tableDataFormatting("col", "style", array("product_price",">", "200"),array("background:#000","color:#ff0"));
                                echo $pdocrud->dbTable("producttable")->render();