Kullanıcı: freeman
freeman
21.01.2020 14:03
Metotlar çalıştırırken kullanılan yardımcı bir metottur. Call (*: JavaScript call metodu) ve apply (*: JavaScript apply metodu) metotlarından farkı bunlarda parametreler hemen metoda geçilir ve fonksiyon çalışır. Bind ise kullanıldığında o metodu çalıştırmadığı gibi geriye de yepyeni başka bir metot döner. Tek yaptığı verilen parametreleri bir kenara koymaktır. Geriye dönen metodu çalıştırdığınızda ancak o zaman verdiğiniz parametrelerle ilgili metot çalışır. Yaptığı işi, bir arabayı bomba yükleyip belli bir noktaya gidene kadar beklemek ve vardığında düğmeye basıp patlatmak gibi düşünebiliriz.

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/application/1.1.0/core/MY_Controller.php:95)

Filename: cookie/cookie.php

Line Number: 61