Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Prep search component
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Dec 29, 2010
1 parent dfb2529 commit 1c7284b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions components/search/assets/javascript/search.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
jLoader.Initialize( "search-results" );

jLoader.Search_results = function ( ) {

}
8 changes: 8 additions & 0 deletions components/search/controllers/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ public function __construct ( ) {
parent::__construct( );
}

public function Display ( $pView = null, $pData = null ) {
$this->View = $this->GetView ( $pView );

$this->View->Display();

return ( true );
}

/**
* Display the global search box
*
Expand Down
5 changes: 5 additions & 0 deletions components/search/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,9 @@ public function Index ( $pData = null ) {
return ( $return );
}

public function Keywords ( $pData = null ) {

return ( array ( ) );
}

}
3 changes: 3 additions & 0 deletions components/search/views/results.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<script type="text/javascript" src="/components/search/assets/javascript/search.js"></script>
<section id="search-results">
</section>

0 comments on commit 1c7284b

Please sign in to comment.