اكثر اسئلة واجوبة المقابلات طلبا والاختبارات عبر الإنترنت
منصة تعليمية للتحضير للمقابلات والاختبارات عبر الإنترنت والدروس والتدريب المباشر

طوّر مهاراتك من خلال مسارات تعلم مركزة واختبارات تجريبية ومحتوى جاهز للمقابلات.

يجمع WithoutBook أسئلة المقابلات حسب الموضوع والاختبارات العملية عبر الإنترنت والدروس وأدلة المقارنة في مساحة تعلم متجاوبة واحدة.

التحضير للمقابلة

الاختبارات التجريبية

اجعلها الصفحة الرئيسية

احفظ هذه الصفحة في المفضلة

الاشتراك عبر البريد الإلكتروني

Zend Framework اسئلة واجوبة المقابلات

سؤال 16. How to include css from controller and view in zend.

From within a view file: $this->headLink()->appendStylesheet(filename.css);
From within a controller: $this->view->headLink()->appendStylesheet(filename.css);
And then somewhere in your layout you need to echo out your headLink object:
headLink();?>

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 17. How do you protect your site from sql injection in zend when using select query?

You have to quote the strings,
$this->getAdapter ()->quote ( );
$select->where ( = , );
OR (If you are using the question mark after equal to sign)
$select->where ( = ? , );

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 18. What is MVC?

=> Model-View-Controller development pattern.
=> MVC is a software approach that separates application logic from presentation.

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 19. Features of MVC in Zend Framework?

=> Declare custom routing rules
Not limited to controller/action/param format
=> Optional Controller Plugins, Action Helpers, and View Helpers
ErrorHandler plugin handles exceptions, 404 errors, etc.
FlashMessenger, Redirector, ViewRenderer helpers
Output common HTML elements in views
=> Extensible interfaces
Write your own plugins and helpers

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

سؤال 20. Why can't Zend_Form render my File element without errors?

The file element needs a special file decorator, which is added by default. When you set your own decorators for file elements, you delete the default decorators.
For example:
$element->setDecorators(array(
array('ViewHelper'),
array('Errors')
));
You should use a File decorator instead of the ViewHelper for the file element, like so:
$element->setDecorators(array(
array('File'),
array('Errors')
));

هل هذا مفيد؟ اضف تعليقا عرض التعليقات
 

الاكثر فائدة حسب تقييم المستخدمين:

حقوق النشر © 2026، WithoutBook.