!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/uploads/script/vendor/artesaos/seotools/src/SEOTools/Contracts/   drwxr-xr-x
Free 13.22 GB of 57.97 GB (22.81%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     OpenGraph.php (5.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

namespace Artesaos\SEOTools\Contracts;

/**
 * OpenGraph defines contract for the "OpenGraph" meta tags container.
 *
 * "OpenGraph" meta tags are widely used among social networks like Facebook during the "sharing" process.
 *
 * Usage example:
 *
 * ```php
 * use Artesaos\SEOTools\OpenGraph; // implements `Artesaos\SEOTools\Contracts\OpenGraph`
 *
 * $openGraph = new OpenGraph();
 *
 * // specify meta info
 * $openGraph->setTitle('Home');
 * $openGraph->setDescription('This is my page description');
 * $openGraph->setUrl('http://current.url.com');
 * $openGraph->addProperty('type', 'articles');
 *
 * // render HTML, it should be placed within 'head' HTML tag
 * echo $openGraph->generate();
 * ```
 *
 * Implementation of this contract is available via {@see \Artesaos\SEOTools\Facades\OpenGraph} facade.
 * Facade usage example:
 *
 * ```php
 * use Artesaos\SEOTools\Facades\OpenGraph;
 *
 * // specify meta info
 * OpenGraph::setTitle('Home');
 * OpenGraph::setDescription('This is my page description');
 * OpenGraph::setUrl('http://current.url.com');
 * OpenGraph::addProperty('type', 'articles');
 *
 * // render HTML, it should be placed within 'head' HTML tag
 * echo OpenGraph::generate();
 * ```
 *
 * > Attention: namespace 'http://ogp.me/ns#' should appear at the HTML declaration tag in order for the "OpenGraph" tags
 *   be recognized properly. You'll have to do this manually, so your HTML page structure should look like following:
 *
 * ```html
 * <html prefix="og: http://ogp.me/ns#">
 * <head>
 * <title>...</title>
 * ...
 * </head>
 * ...
 * </html>
 * ```
 *
 * @see https://ogp.me/
 * @see \Artesaos\SEOTools\OpenGraph
 * @see \Artesaos\SEOTools\Facades\OpenGraph
 */
interface OpenGraph
{
    
/**
     * @param array $config
     * @return void
     */
    
public function __construct(array $config = []);

    
/**
     * Generates open graph tags.
     *
     * @param bool $minify
     *
     * @return string
     */
    
public function generate($minify false);

    
/**
     * Add or update property.
     *
     * @param string       $key
     * @param string|array $value
     *
     * @return static
     */
    
public function addProperty($key$value);

    
/**
     * Remove property.
     *
     * @param string $key
     *
     * @return static
     */
    
public function removeProperty($key);

    
/**
     * Add image to properties.
     *
     * @param string $url
     * @param array  $attributes
     *
     * @return static
     */
    
public function addImage($url$attributes = []);

    
/**
     * Add images to properties.
     *
     * @param array $urls
     *
     * @return static
     */
    
public function addImages(array $urls);

    
/**
     * Define title property.
     *
     * @param string $title
     *
     * @return static
     */
    
public function setTitle($title);

    
/**
     * Define description property.
     *
     * @param string $description
     *
     * @return static
     */
    
public function setDescription($description);

    
/**
     * Define url property.
     *
     * @param string $url
     *
     * @return static
     */
    
public function setUrl($url);

    
/**
     * Define site_name property.
     *
     * @param string $name
     *
     * @return static
     */
    
public function setSiteName($name);

    
/**
     * Define type property.
     *
     * @param string|null $type set the opengraph type
     *
     * @return static
     */
    
public function setType($type null);

    
/**
     * Set Article properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setArticle($attributes = []);

    
/**
     * Set Profile properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setProfile($attributes = []);

    
/**
     * Set Music Song properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setMusicSong($attributes = []);

    
/**
     * Set Music Album properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setMusicAlbum($attributes = []);

    
/**
     * Set Music Playlist properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setMusicPlaylist($attributes = []);

    
/**
     * Set Music  RadioStation properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setMusicRadioStation($attributes = []);

    
/**
     * Set Video Movie properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setVideoMovie($attributes = []);

    
/**
     * Set Video Episode properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setVideoEpisode($attributes = []);

    
/**
     * Set Video Episode properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setVideoOther($attributes = []);

    
/**
     * Set Video Episode properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setVideoTVShow($attributes = []);

    
/**
     * Set Book properties.
     *
     * @param array $attributes
     *
     * @return static
     */
    
public function setBook($attributes = []);

    
/**
     * Add Video properties.
     *
     * @param string $source
     * @param array  $attributes
     *
     * @return static
     */
    
public function addVideo($source null$attributes = []);

    
/**
     * Add audio properties.
     *
     * @param string $source
     * @param array  $attributes
     *
     * @return static
     */
    
public function addAudio($source null$attributes = []);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0055 ]--