Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Unque Validation
Post: Unque Validation

I have a tabel with theese folowing columns users: id, email in my table i have an record like this id : 1 email: [email protected] in model i create a valdation rule  'username' => 'required|is_...
143 Views
0 Replies
02-10-2024, 07:13 AM
titounnes
    Thread: Could #-attributes in PHP 8.1 be used for routes in the future?
Post: RE: Could #-attributes in PHP 8.1 be used for rout...

Attribute route only runs in php version 8, while ci4 allows php version 7.
2,236 Views
5 Replies
09-25-2022, 07:22 AM
titounnes
    Thread: Is it possible to select two cells with one query?
Post: RE: Is it possible to select two cells with one qu...

1. getFirstRow() return areay or null 2. this is php. ehat do you want with ->{id, name}?}
1,554 Views
4 Replies
02-12-2022, 08:34 AM
titounnes
    Thread: How to use LayoutView with parser?
Post: RE: How to use LayoutView with parser?

i'm using this trick. $view = view ('partial/partOne); $viee .= view('partial/partTwo'); .. echo $parser->setData($data)->render($view);
7,413 Views
11 Replies
02-10-2022, 06:08 AM
titounnes
    Thread: Sugestion for parser
Post: Sugestion for parser

Hi All. For CI 4 users, even though the parser is not as powerful as the template engine, I think it's quite easy to work with.  However, there are 2 things that I think need attention. (I already w...
1,121 Views
0 Replies
02-04-2022, 06:19 AM
titounnes
    Thread: run the plugin at the end of the parser
Post: RE: run the plugin at the end of the parser

Acuru Wrote: (02-03-2022, 09:57 AM) -- I didn't have this issue, but maybe better option would be to made two types of plugins, one that are parsed as they are now, and second that works as you sugge...
2,025 Views
2 Replies
02-03-2022, 10:06 AM
titounnes
    Thread: run the plugin at the end of the parser
Post: run the plugin at the end of the parser

Hi All. I have a suggestion Since the plugin is executed before the loop over the data variable, we cannot use variables in the plugin the following script will cause a parse error. {+ foo bar={ba...
2,025 Views
2 Replies
02-03-2022, 09:48 AM
titounnes
    Thread: plugins in parser pass variable
Post: RE: plugins in parser pass variable

i have found the solution. public static function foo(array $param) : string return sprintf("{%s}", $param['bar']) ; }         public static function btnRead(array $arg=NULL):string     {     ...
1,833 Views
2 Replies
02-03-2022, 07:52 AM
titounnes
    Thread: How to check codeigniter version in documentation
Post: RE: How to check codeigniter version in documentat...

write
6,811 Views
11 Replies
02-03-2022, 06:56 AM
titounnes
    Thread: View Parser - How to pass variable parameter in the route template plugin
Post: RE: View Parser - How to pass variable parameter i...

i got same problem.
3,252 Views
1 Replies
02-03-2022, 05:09 AM
titounnes
    Thread: plugins in parser pass variable
Post: plugins in parser pass variable

Hi All Do plugins in parser pass variable? as an example {+ foo bar="{bash}" +} where bash is a variable thanks before
1,833 Views
2 Replies
02-03-2022, 04:40 AM
titounnes
    Thread: Generate model based on migration or tabel scema
Post: Generate model based on migration or tabel scema

Hi, CI4 developer team. I have a suggestion, what if generate model is based on migration or schema database? so that the "allow-field" and "primary key" can be automatically filled when the model is ...
2,760 Views
1 Replies
08-04-2021, 05:43 PM
titounnes
    Thread: Form Helper in view parser
Post: Form Helper in view parser

Permission to ask. Can the form helper be used in a view parser? Is there an example?
1,742 Views
2 Replies
03-26-2021, 09:23 PM
titounnes
    Thread: Problem with # sign in view parser
Post: RE: Problem with # sign in view parser

Thank you for the information. Resolved.
1,878 Views
2 Replies
03-26-2021, 08:02 AM
titounnes
    Thread: Problem with # sign in view parser
Post: Problem with # sign in view parser

Hi. All. When I use the view parser, all # signs in
1,878 Views
2 Replies
03-26-2021, 06:19 AM
titounnes
    Thread: CI 4 login with google. $client = new Google_Client();
Post: RE: CI 4 login with google. $client = new Google_C...

asklinux Wrote: (05-10-2020, 03:29 AM) -- i have install google api using compose  composer require google/apiclient:"^2.0" then its install google api lib in  vendor/google to user the l...
5,060 Views
1 Replies
03-24-2021, 06:32 PM
titounnes
    Thread: Why is the MifgrateLatest class removed from the system?
Post: RE: Why is the MifgrateLatest class removed from t...

MGatner Wrote: (04-22-2020, 04:46 AM) -- @includebeer is exactly right -- Thank's for your reply...
3,159 Views
3 Replies
04-22-2020, 07:35 AM
titounnes
    Thread: Why is the MifgrateLatest class removed from the system?
Post: Why is the MifgrateLatest class removed from the s...

I created a new migration file. then I try to run. Error message appears because the table has been created. Then I check with the command "php spark list", it turns out the command "migrate: latest" ...
3,159 Views
3 Replies
04-15-2020, 06:26 AM
titounnes
    Thread: Bug with Kint-library
Post: RE: Bug with Kint-library

thanks Lonnie
12,071 Views
15 Replies
02-25-2020, 12:53 AM
titounnes
    Thread: Bug with Kint-library
Post: RE: Bug with Kint-library

In the old project, the problem was solved by updating the system to version 4.0.1 but not with the new project. As Lonnie said, the error was related to "redeclare class CodeIgniter \ Commands \ Comm...
12,071 Views
15 Replies
02-24-2020, 05:33 PM
titounnes

Theme © iAndrew 2016 - Forum software by © MyBB