
Search In
Hi Readers,
This Post is to tell about the BOUND and FRAME in ios.
BOUND:
The bounds property of a view defines the size of the view and its position in the view's own coordinate system. This means that in most cases the origin of the bounds
If you want to widget parents and Children in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard .js file:
local.HomePage = instance.Widget.extend({
start: function() {
var greeting = new local.GreetingsWidget(thi
This is required to deserialize an object or data while recieving data over the network. you can use following code to deserialize your object and return its encoded bytes like this :
public static Object deserialize(String str) throws IOExceptio
static NSArray *openFiles()
{
bookmarkMode = 0;
NSOpenPanel *panel;
NSMutableArray *extension=[[NSMutableArray alloc]init ];
[extension addObject:[[NSUserDefaults standardUserDefaults]objectForKey:@"ImageExtension" ] ];
panel = [
To redirect the log statements to a file instead of console call the following function at the start of function applicationDidFinishLaunching.
- (void)redirectConsoleLogToDocumentFolder
{
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSD
If anyone wants to hide the format text from the body field in drupal then try it:-
// override hook_form_alter
function CUSTOM_MODULENAME_form_alter(&$form, &$form_state, $form_id) {
if($form_id == 'restaurants_node_form') {/
To copy the image on NSPasteBoard following code can be used:
- (IBAction)paste:sender
{
NSPasteboard *pasteboard = [NSPasteboard generalPasteboard];
NSArray *classArray = [NSArray arrayWithObject:[NSImage class]];
NSDiction
In Magento we can restrict user registration to specific email domains, therefore for restricting specific email domains on registration page we have to add a validation
for example we can add like this-
function validateEmailDomain($email) {
if
In below example, I have written Python script to find available user in live chat . If you are stuck in such case then directly copy below python code in your .py file:
users = self.get_available_users(cr, uid, channel_id, context=context)
We are here to discuss OAuth 2.0 Authentication in wordpress. Do you know about OAuth?. What is OAuth?. OAuth is nothing but a open protocol which is useful to allow authorization by easy and secure methods from web/mobile/software applications.
In w
