
Search In
hooks:- hooks are api code in drupal which allows interaction between module and Drupal core.
Basically A hook is a PHP function look like -
general_test()
“general” is the name of the module (file name for whom is general.module).
“test” is
What is use of join() function.?
The join() function returns a string from the elements of an array.
The join() function alias of implode() function.
Syntax of strtolower() function:
join(" ",array)
You can see below example of join() function in
The code below will help you in declaration of completion handler and how to call the completion handler in swift.
To declare a completion handler in swift use the line :
typealias completionHander = (sucess: Bool)->Void
//decalration of co
PHP $_GET can also be used to collect form data after submitting an HTML form with method="get".
$_GET can also collect data sent in the URL.
You can see below example of $_Get in php.
<!DOCTYPE html>
<html>
<body>
Here you can
The mkdir() function is basically use for making a directory.
Syntax of mkdir() function
mkdir("dir_name");
You can see below example of mkdir() function.
<?php
// here call mkdir()
mkdir("testdocs");
?>
In the above given example we
Welcome to Findnerd. Today we are going to discuss the return types in php which is improved in PHP7. In php 7 you can set the data type for the return value of the
function. You need to set the declare(strict_types=1) in the file top.
<?php
decl
DOM Document Object Model
DOM is structure that is used to invoke the elements of a page or a script file. It is the hierarchy of structure that
a particular document have where we want to invoke the elements of that particular document.
For ex : &
Metadata Management:-
There are a few guidelines of creating meta data. We must see that tags that we create should be inside the if it is a webpage.
Also we need to provide meta data in pairs of name and values.
Meta data is of two types, one whic
There are always a requirement when you have to update the multiple records at the same time using ActiveRecord with a single HTTP request. All you have to do is create a hash with keys as the primary key and value as another hash of all the fields w
Hello Friends,
Some time we need to set a different layout for our web-page. Mean this page will appear some thing different by the mean of different header, footer or some thing different by look and appearance. For this you need create a different
