Make sure that Allowed “IPs (comma separated)” are not added under Developer Client Restrictions.
Monthly Archives: June 2013
CDN
A content delivery network or content distribution network (CDN) is a large distributed system of servers deployed in multiple data centers across the Internet. The goal of a CDN is to serve content to end-users with high availability and high performance.
jQuery check if atleast one checkbox is checked
if(jQuery(“.related-checkbox:checkbox:checked”).length > 0)
jQuery modify the text box value
jQuery(“#product_name”).val (“1”);
Show succes / error message in custom controller
1) Makes sure that you have included <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
2) Add messages to ‘core/session’ instead ‘catalog/session’ .
close fancybox
For AJAX <a title=”Close” href=”javascript:jQuery.fancybox.close();”>< Back</a>
IFRAME <a title=”Close” href=”javascript:parent.jQuery.fancybox.close();”>< Back</a>
Friend Function
A friend function is a function that is not a member of a class but has access to the class’s private and protected members. Friend functions are not considered class members; they are normal external functions that are given special access privileges.
Accessors
Accessors are instructions that generally give a property of method permission to be accessible in different ways. There are three types:
public: This property or permission is accessible from anywhere in the application.
protected: This property or permission is accessible only from a class that extends the parent class.
private: This property or permission is accessible only within the current class you are working with.
The really neat thing about access is that it protects your code should other developers be working on the same project. If you don’t want them to be able to touch something, don’t give him access to it.
Polymorphism
In programming languages and type theory, polymorphism is the provision of a single interface to entities of different types.
A polymorphic type is a type whose operations can also be applied to values of some other type, or types.
Abstraction
Abstraction is a conept that OOPs support where implementation are hidden,User can only see the representation of data or function.