Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CodeIgniter 4.0 is here!
Post: RE: CodeIgniter 4.0 is here!

Oh, thanks, really waiting for the release of the framework, is this a download link? https://github.com/codeigniter4/CodeIgniter4/archive/v4.0.2.zip
219,919 Views
132 Replies
02-27-2020, 07:49 PM
Dedov_Evgeniy
    Thread: How to get view into a variable?
Post: How to get view into a variable?

for example: PHP Code: -- $render = view('\Modules\Shop\Views\public_tpl\catalog_view_info_tpl', $SQL); --
1,492 Views
1 Replies
01-26-2020, 03:29 AM
Dedov_Evgeniy
    Thread: [Solved] Image Manipulation Class
Post: RE: Image Manipulation Class

$path_save = ROOTPATH . 'public/assets/images/test.jpg'; or    $path_save = FCPATH . 'assets/images/test.jpg'; https://codeigniter4.github.io/userguide/general/common_functions.html?highlight=fcp...
3,964 Views
4 Replies
01-17-2020, 10:54 PM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: RE: rules multiple uploads

Hello. There are a lot of dynamically created fields (javascript) in our project, and you can also delete them right on the page, if you number or index each one, you can go crazy), it is better if...
11,846 Views
14 Replies
01-16-2020, 06:00 PM
Dedov_Evgeniy
    Thread: Dynamic image generation
Post: RE: Dynamic image generation

Michal_PB1 Wrote: (01-15-2020, 02:28 PM) -- Hi, I would like to generate dynamically image sizes so I create a routing for that (/image/generate/400-400/test.jpg) PHP Code: -- $routes->get('/i...
4,363 Views
6 Replies
01-16-2020, 12:43 AM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: RE: rules multiple uploads

Hello. What do you think? In helper "array_helper.php" to the method "_array_search_dot" after these lines: PHP Code: -- // Grab the current index $currentIndex = $indexes         ? a...
11,846 Views
14 Replies
01-13-2020, 10:11 PM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: RE: rules multiple uploads

Quote: -- Could this be a solution ? -- I tried it now, the error also crashes ...
11,846 Views
14 Replies
01-12-2020, 09:25 AM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: RE: rules multiple uploads

littlej Wrote: (01-12-2020, 07:42 AM) -- Validation of arrays with "ordinary data fields": https://codeigniter4.github.io/userguide/libraries/validation.html#validating-keys-that-are-arrays -- Yes, t...
11,846 Views
14 Replies
01-12-2020, 08:10 AM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: RE: rules multiple uploads

Sorry, everything is in order with the first question, and having studied the code, I realized that there is no verification of arrays of ordinary data fields (example in # 2), which is sad (. I’ll ha...
11,846 Views
14 Replies
01-12-2020, 06:39 AM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: RE: rules multiple uploads

littlej Wrote: (01-11-2020, 01:53 AM) -- Hello ! I think you skipped this page of the documentation  :rolleyes: [/url] [url=https://codeigniter4.github.io/userguide/libraries/uploaded_files.html...
11,846 Views
14 Replies
01-12-2020, 01:25 AM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: RE: rules multiple uploads

Will someone tell me? Is rule validation supported if the field is an array, for example: Code: -- ... --
11,846 Views
14 Replies
01-10-2020, 01:17 PM
Dedov_Evgeniy
    Thread: rules multiple uploads
Post: rules multiple uploads

Code: -- -- How to specify rules for multiple downloads? PHP Code: -- 'foto' => ['label' => 'Images', 'rules' => 'uploaded[foto]|mime_in[foto,image/png,image/jpeg]'] --
11,846 Views
14 Replies
01-05-2020, 09:20 AM
Dedov_Evgeniy
    Thread: Call to undefined method Builder::affectedRows()
Post: RE: Call to undefined method Builder::affectedRows...

This is how it works. Not very logical. If you work with Query Builder Class, then these methods should also be there, at least you can just make a mistake. And this also applies to the method -> inse...
5,698 Views
3 Replies
01-04-2020, 04:42 AM
Dedov_Evgeniy
    Thread: Call to undefined method Builder::affectedRows()
Post: Call to undefined method Builder::affectedRows()

in the documentation - affectedRows(); Quote: -- Displays the number of affected rows, when doing “write” type queries (insert, update, etc.). -- My code: PHP Code: -- // Method in model fu...
5,698 Views
3 Replies
01-03-2020, 12:56 PM
Dedov_Evgeniy
    Thread: Response
Post: Response

PHP Code: -- return $this->response->setJSON($data); return $this->response->setXML($data); -- Tell me these are the final methods? That is, nothing is executed after sending?
1,660 Views
1 Replies
12-29-2019, 12:07 AM
Dedov_Evgeniy
    Thread: Problem in routing
Post: RE: Problem in routing

PHP Code: -- $routes->add('admin/([a-z0-9+])/(:any)', '$1::index/$2'); -- $1 - Controller $2 - Method So is it impossible?
5,842 Views
5 Replies
12-23-2019, 04:56 PM
Dedov_Evgeniy
    Thread: Problem in routing
Post: RE: Problem in routing

Why, no one will help?
5,842 Views
5 Replies
12-23-2019, 10:12 AM
Dedov_Evgeniy
    Thread: Problem in routing
Post: Problem in routing

Hello. Created a folder "Modules" with modules in the root ... In file autoload.php PHP Code: -- $psr4 = [ 'Config'      => APPPATH  . 'Config', APP_NAMESPACE => APPPATH,                //...
5,842 Views
5 Replies
12-16-2019, 05:59 PM
Dedov_Evgeniy
    Thread: CI4 release
Post: CI4 release

Is it possible to count on a New Year's gift, the release of the official release of CI4)))
3,370 Views
3 Replies
12-14-2019, 10:21 AM
Dedov_Evgeniy
    Thread: codeigniter.com - does not work
Post: RE: codeigniter.com - does not work

from a mobile phone also does not work ( [hr] ciadmin Wrote: (12-06-2019, 10:54 PM) -- Hmmm - I just checked the analytics, and the site has had 8 million visits in the last 30 days, with no outages....
18,109 Views
6 Replies
12-06-2019, 11:04 PM
Dedov_Evgeniy

Theme © iAndrew 2016 - Forum software by © MyBB