Search
 
SCRIPT & CODE EXAMPLE
 

PHP

register column types octobercms

public function registerListColumnTypes()
{
    return [
        // A local method, i.e $this->evalUppercaseListColumn()
        'uppercase' => [$this, 'evalUppercaseListColumn'],

        // Using an inline closure
        'loveit' => function($value) { return 'I love '. $value; }
    ];
}

public function evalUppercaseListColumn($value, $column, $record)
{
    return strtoupper($value);
}
Comment

PREVIOUS NEXT
Code Example
Php :: laravel login register api 
Php :: Modal Edit Specific/Same table row, where button is 
Php :: create associative array php by key value site:stackoverflow.com 
Php :: livewire layout error 
Php :: header redirect php 
Php :: how to type casting and overriding in php 
Php :: Apache/2.4.52 (Win64) OpenSSL/1.1.1m PHP/7.4.27 Server at localhost Port 80 
Php :: Définir un nombre maximum de mots sur les titres des publications WordPress 
Php :: php print array source code 
Php :: How to create custom php.ini file in CPanel? 
Php :: how to convert php code to a string 
Php :: carbon in laravel documentation 
Php :: ipv6 pregmatch 
Php :: joomla include jfactory 
Php :: laravel Why using additive paramerer in Resource collection raised error 
Php :: print select sql result in php 
Php :: laravel livewire refresh computed property 
Php :: wp ajax error handling 
Php :: how to fetch data from database in php and display in pdf 
Php :: phpstormda php faylning tepasiga avto kommet yozish 
Php :: PHP strcspn — Find length of initial segment not matching mask 
Php :: php random number routing 
Php :: how to disable html coding property in php 
Php :: character encoding to remove question marks as apostrophe php code 
Php :: remove public url laravel 
Php :: display page template using functions.php 
Php :: array filter vs array search php 
Php :: SMARTY compose variable key array 
Php :: overwrite existing key value pair php 
Php :: laravel helper functions 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =