Paul Booker

Primary tabs

Articles from Paul Booker

It's been more than a month since Drupageddon so I thought I would post an update of my previous post.Commands that help with auditing:

Showing files that have changed on the live server:

git status

// $Id$

/**
* @file
* Implements various blocks to improve pending content workflow.
*/

From your local machine ..

1. Create your keys

ssh-keygen -t rsa

2. Upload to your server

scp ~/.ssh/paulbooker.pub root@92.243.12.252:/tmp/paulbooker.pub

From your server ..

1. Install Gitolite.

/**
* Implements hook_privatemsg_message_insert.
*/
function push_notifications_privatemsg_message_insert( $message ) {
if ( variable_get( 'push_notifications_privatemsg_integration', 0 ) ) {

/**
* Additional handler for push_notifications_mass_push_form_validate form validate.
*/
function mymodule_push_notifications_mass_push_form_validate($form, &$form_state) {
}

/**
* Additional handler for push_notifications_mass_push_form_validate form validate.
*/
function mymodule_push_notifications_mass_push_form_validate($form, &$form_state) {
}

/**
* Implements of hook_services_resources().
*/
function mymodule_services_services_resources() {
$api = array(
'frontpage' => array(
'operations' => array(

an object;

.. is defined;

An ‘object’ is an instance of a ‘class’. You define a class using the code below.

class parentClass
{
// methods (functions) and properties (variables) go in here
}

Pages