This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array | |
( | |
[group_1] => Array | |
( | |
[0] => stdClass Object | |
( | |
[id] => 439 | |
[guid] => f2c93d48-98ad-49a8-815a-a0050087fc9e | |
[jurisdiction_id] => d273a29a-60ea-e011-9f2a-485b397450b7 | |
[name] => Retrieval- WEB (Articles of Formation- Plain) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
jp.*, | |
si.description, si.service_id | |
FROM sun_sundocfilings_jurisdiction_prices jp | |
JOIN sun_sundocfilings_service_items si | |
ON jp.service_id = si.service_id | |
AND jp.item_id = si.guid | |
WHERE jurisdiction_id = 'd273a29a-60ea-e011-9f2a-485b397450b7' | |
AND NAME LIKE '%Articles%'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . \( -iname '*.rb' -o -iname '*.css' -o -iname '*.js' -o -iname '*.erb' -o -iname '*.html' -o -iname '*.haml' -o -iname '*.scss' -o -iname '*.coffee' \) -exec wc -l {} + | sort -n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . \( -iname '*.inc' -o -iname '*.php' -o -iname '*.install' -o -iname '*.module' -o -iname '*.info' -o -iname '*.js' -o -iname '*.css' \) -exec wc -l {} + | sort -n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$node = node_load(NID_HERE); | |
if ($node->field_image[LANGUAGE_NONE][0]['fid']) { | |
$file = file_load($node->field_image[LANGUAGE_NONE][0]['fid']); | |
$form['image_preview'] = array( | |
'#markup' => theme('image', array('uri' => $file->uri)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Doubts | |
* 1.there is no more need of lookupListing as we are having standardizeListingFormat() | |
* 2.Will the implementation of applyListingDataToLocalRecord() will go like this.. | |
* 3.staticfunction of a class can access non static class variables?.... | |
* 4.Need documentation for getListingData() | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Doubts | |
* 1.there is no more need of lookupListing as we are having standardizeListingFormat() | |
* 2.Will the implementation of applyListingDataToLocalRecord() will go like this.. | |
* 3.staticfunction of a class can access non static class variables?.... | |
* 4.Need documentation for getListingData() | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Including citygrid API | |
include "citygrid-places-api-class.php"; | |
/* | |
* class ExternalLisitngService with methods to call citysearch API,update nodes on the basis of data | |
* from listing site,to count reviews from users,return all reviews form users | |
* |
NewerOlder